From a4380940cfcd2784d2ccfed02364d84ec852c3c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= <gabor@hojtsy.hu>
Date: Thu, 17 Jan 2008 16:08:35 +0000
Subject: [PATCH] #201641 by Ralf Stamm, Pancho: sort admin themes by info name
 as well

---
 modules/system/system.admin.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 54057f155bbe..c48928041ecb 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'];
-- 
GitLab