1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

Spreadsheet: Sort functions by name in the help window

This commit is contained in:
Eli Youngs 2022-04-17 22:36:49 -07:00 committed by Linus Groh
parent dd5fb7b32a
commit 04763c4a12

View file

@ -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();
}