You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Change EditorFileSystem and ScriptEditor file sorting order to improve consistency.
Fixes #37721.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user