Merge pull request #37796 from Gogsi/master

Improve consistency in file order
This commit is contained in:
Rémi Verschelde 2021-05-18 11:45:05 +02:00 committed by GitHub
commit 35edb77d1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;