summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-05-18 11:45:05 +0200
committerGitHub <noreply@github.com>2021-05-18 11:45:05 +0200
commit35edb77d1fd06fa5638893fe421371206b5aa41d (patch)
tree5c13402022bf070f2c2f9f4efa583085623350a6 /editor/plugins/script_editor_plugin.cpp
parentb2fb119c53f0797cc8700761fe974671180854bd (diff)
parenta8c83a7b354b9fa0f2a1f50b8b1ae39048ba869a (diff)
downloadredot-engine-35edb77d1fd06fa5638893fe421371206b5aa41d.tar.gz
Merge pull request #37796 from Gogsi/master
Improve consistency in file order
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 4bc64c9271..0512c148cc 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -1677,7 +1677,7 @@ struct _ScriptEditorItemData {
if (sort_key == id.sort_key) {
return index < id.index;
} else {
- return sort_key < id.sort_key;
+ return sort_key.naturalnocasecmp_to(id.sort_key) < 0;
}
} else {
return category < id.category;