diff --git a/editor/plugins/font_config_plugin.cpp b/editor/plugins/font_config_plugin.cpp index c3d1e920d7c..5d90a746f9d 100644 --- a/editor/plugins/font_config_plugin.cpp +++ b/editor/plugins/font_config_plugin.cpp @@ -1020,6 +1020,7 @@ EditorPropertyFontNamesArray::EditorPropertyFontNamesArray() { if (OS::get_singleton()) { Vector fonts = OS::get_singleton()->get_system_fonts(); + fonts.sort(); for (int i = 0; i < fonts.size(); i++) { menu->add_item(fonts[i], i + 6); }