From 1630f5d89ddaef8f451d8f7575d4e1fbd1a37216 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Fri, 3 Jan 2014 14:40:35 -0600 Subject: [PATCH] i18n: More predicatable sort for language selection --- include/class.i18n.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/class.i18n.php b/include/class.i18n.php index fdb0061bb..5c72a68c5 100644 --- a/include/class.i18n.php +++ b/include/class.i18n.php @@ -165,6 +165,7 @@ class Internationalization { ); } } + usort($installed, function($a, $b) { return strcasecmp($a['code'], $b['code']); }); return $installed; } -- GitLab