From 70dc80fa471a163e31d72b2a82f020a697fe02c7 Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Sun, 29 Mar 2020 09:10:06 +0200 Subject: [PATCH] SystemMenu: Sort applications alphabetically --- Applications/SystemMenu/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Applications/SystemMenu/main.cpp b/Applications/SystemMenu/main.cpp index 106cae5a5e..e81972ea52 100644 --- a/Applications/SystemMenu/main.cpp +++ b/Applications/SystemMenu/main.cpp @@ -119,6 +119,7 @@ NonnullRefPtr build_system_menu() g_apps.append({ app_executable, app_name, app_icon_path, app_category }); seen_app_categories.set(app_category); } + quick_sort(g_apps, [](auto& a, auto& b) { return a.name < b.name; }); } Vector sorted_app_categories;