From 04763c4a1275376d2112cb3431db33187f457feb Mon Sep 17 00:00:00 2001 From: Eli Youngs Date: Sun, 17 Apr 2022 22:36:49 -0700 Subject: [PATCH] Spreadsheet: Sort functions by name in the help window --- Userland/Applications/Spreadsheet/HelpWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 +#include #include #include #include @@ -45,6 +46,7 @@ public: object.for_each_member([this](auto& name, auto&) { m_keys.append(name); }); + AK::quick_sort(m_keys); invalidate(); }