Change sort order for applist
This commit is contained in:
parent
4b2bbe0614
commit
e8e4cbfd41
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue