diff options
author | Eli Youngs <eli.m.youngs@gmail.com> | 2022-04-17 22:36:49 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-18 17:36:34 +0200 |
commit | 04763c4a1275376d2112cb3431db33187f457feb (patch) | |
tree | e48a0f46b675669edf7f5e7a5fcd2e55bf91c621 | |
parent | dd5fb7b32a74000ac665c4e7b453300fbb1d067d (diff) | |
download | serenity-04763c4a1275376d2112cb3431db33187f457feb.zip |
Spreadsheet: Sort functions by name in the help window
-rw-r--r-- | Userland/Applications/Spreadsheet/HelpWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Applications/Spreadsheet/HelpWindow.cpp b/Userland/Applications/Spreadsheet/HelpWindow.cpp index f498527712..298bd2d5bb 100644 --- a/Userland/Applications/Spreadsheet/HelpWindow.cpp +++ b/Userland/Applications/Spreadsheet/HelpWindow.cpp @@ -7,6 +7,7 @@ #include "HelpWindow.h" #include "SpreadsheetWidget.h" #include <AK/LexicalPath.h> +#include <AK/QuickSort.h> #include <LibGUI/BoxLayout.h> #include <LibGUI/Frame.h> #include <LibGUI/ListView.h> @@ -45,6 +46,7 @@ public: object.for_each_member([this](auto& name, auto&) { m_keys.append(name); }); + AK::quick_sort(m_keys); invalidate(); } |