summaryrefslogtreecommitdiff
path: root/tools/docdump/doc_dump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/docdump/doc_dump.cpp')
-rw-r--r--tools/docdump/doc_dump.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/docdump/doc_dump.cpp b/tools/docdump/doc_dump.cpp
index 17aff3dc74..5f108ee9c8 100644
--- a/tools/docdump/doc_dump.cpp
+++ b/tools/docdump/doc_dump.cpp
@@ -76,10 +76,10 @@ static String _escape_string(const String& p_str) {
void DocDump::dump(const String& p_file) {
- List<String> class_list;
+ List<StringName> class_list;
ObjectTypeDB::get_type_list(&class_list);
- class_list.sort();
+ class_list.sort_custom<StringName::AlphCompare>();
FileAccess *f = FileAccess::open(p_file,FileAccess::WRITE);