diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index d00f8ce9..7dd7f8f9 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -252,10 +252,10 @@ class lamList { if (!$sort) $sort = strtolower($attr_array[0]); if ($sort != "dn") { // sort by first attribute with name $sort - return strnatcmp($a[$sort][0], $b[$sort][0]); + return strnatcasecmp($a[$sort][0], $b[$sort][0]); } else { - return strnatcmp($a[$sort], $b[$sort]); + return strnatcasecmp($a[$sort], $b[$sort]); } }