public static function SortAddons(&$Array, $Filter = TRUE) {
      // Make sure every addon has a name.
      foreach ($Array as $Key => $Value) {
         if ($Filter && GetValue('Hidden', $Value)) {
            unset($Array[$Key]);
            continue;
         }

         $Name = GetValue('Name', $Value, $Key);
         SetValue('Name', $Array[$Key], $Name);
      }
      uasort($Array, array('SettingsController', 'CompareAddonName'));
   }