fix #26: alphabetic order of apps
This commit is contained in:
@@ -191,7 +191,9 @@ class NavController extends Controller
|
||||
if (empty($items[$category]['apps'])) {
|
||||
unset($items[$category]);
|
||||
} else {
|
||||
ksort($items[$category]['apps']);
|
||||
uasort($items[$category]['apps'], function ($a, $b) {
|
||||
return ($a['name'] < $b['name']) ? -1 : 1;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user