diff --git a/app/Application.php b/app/Application.php index dbd6ed65..7b01b07d 100644 --- a/app/Application.php +++ b/app/Application.php @@ -40,7 +40,7 @@ class Application extends Model public static function applist() { $list = []; - $all = self::orderBy('name')->get(); + $all = self::orderBy('name')->get()->sortBy('name', SORT_NATURAL|SORT_FLAG_CASE); $list['null'] = 'None'; foreach($all as $app) { $name = $app->name;