From 838b4c65100df5ebda24a4b10f6405d2b38a888e Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Fri, 14 Aug 2009 21:28:32 +0000
Subject: [PATCH] #528204 by rfay: Fixed menu item sorting so it is now case
 in-sensitive.

---
 modules/system/system.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/system/system.module b/modules/system/system.module
index c5b39e09ebc6..7d2e93d77eef 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1582,7 +1582,7 @@ function system_admin_menu_block($item) {
     }
     // Prepare for sorting as in function _menu_tree_check_access().
     // The weight is offset so it is always positive, with a uniform 5-digits.
-    $content[(50000 + $link['weight']) . ' ' . $link['title'] . ' ' . $link['mlid']] = $link;
+    $content[(50000 + $link['weight']) . ' ' . drupal_strtolower($link['title']) . ' ' . $link['mlid']] = $link;
   }
   ksort($content);
   $cache[$item['mlid']] = $content;
-- 
GitLab