From e8e4cbfd41624f65b6313daaae713452db2d0e22 Mon Sep 17 00:00:00 2001 From: Kode Date: Mon, 5 Nov 2018 21:03:42 +0000 Subject: [PATCH] Change sort order for applist --- app/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;