Change EditorFileSystem and ScriptEditor file sorting order to improve consistency.

Fixes #37721.
This commit is contained in:
Georgi Genkov 2020-04-11 13:17:46 +02:00
parent 510030fedc
commit a8c83a7b35
3 changed files with 6 additions and 7 deletions

View file

@ -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;