summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTibor Nagy <xnagytibor@gmail.com>2020-03-29 09:10:06 +0200
committerAndreas Kling <kling@serenityos.org>2020-03-29 14:58:26 +0200
commit70dc80fa471a163e31d72b2a82f020a697fe02c7 (patch)
tree02e5fbfb0828742051f0bf540f17c3229c1ece2d
parentf95a1196270a41255586bd859c7168885a201d3d (diff)
downloadserenity-70dc80fa471a163e31d72b2a82f020a697fe02c7.zip
SystemMenu: Sort applications alphabetically
-rw-r--r--Applications/SystemMenu/main.cpp1
1 files changed, 1 insertions, 0 deletions
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<GUI::Menu> 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<String> sorted_app_categories;