Fix sorting of files/dirs in dialogs
Sorts leading `_` before other characters except `.`.
This commit is contained in:
@ -1892,7 +1892,7 @@ struct _ScriptEditorItemData {
|
||||
if (sort_key == id.sort_key) {
|
||||
return index < id.index;
|
||||
} else {
|
||||
return sort_key.naturalnocasecmp_to(id.sort_key) < 0;
|
||||
return sort_key.filenocasecmp_to(id.sort_key) < 0;
|
||||
}
|
||||
} else {
|
||||
return category < id.category;
|
||||
|
||||
Reference in New Issue
Block a user