From 6f7fb7a2ac3a8462b8f642436d191ccca720cd9e Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 22 May 2014 02:13:33 -0700 Subject: sort by app name and not by apd filename --- include/apps.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/apps.php') diff --git a/include/apps.php b/include/apps.php index bf5b292d0..9eb54af00 100644 --- a/include/apps.php +++ b/include/apps.php @@ -31,11 +31,14 @@ function get_system_apps() { } } } - + usort($ret,'app_name_compare'); return $ret; } +function app_name_compare($a,$b) { + return strcmp($a['name'],$b['name']); +} function parse_app_description($f) { $ret = array(); -- cgit v1.2.3