summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/system/system.admin.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 54057f155..c48928041 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -152,7 +152,9 @@ function system_settings_overview() {
*/
function system_admin_theme_settings() {
$themes = system_theme_data();
- ksort($themes);
+
+ uasort($themes, 'system_sort_modules_by_info_name');
+
$options[0] = '<'. t('System default') .'>';
foreach ($themes as $theme) {
$options[$theme->name] = $theme->info['name'];