From e1c6784d412254abea0b8dd0b8e54565e7851d8e Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 12 Aug 2020 16:32:26 +0200 Subject: [PATCH] update visible apps order --- lib/Service/AppRepository.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Service/AppRepository.php b/lib/Service/AppRepository.php index 93d3104..3ca8836 100644 --- a/lib/Service/AppRepository.php +++ b/lib/Service/AppRepository.php @@ -65,6 +65,10 @@ class AppRepository } } + usort($visibleApps, function($a, $b) { + return ($a['name'] < $b['name']) ? -1 : 1; + }); + return $visibleApps; } }