Skip to content

Custom Sort - Only processing 74 files at a time? #638

Discussion options

You must be logged in to vote

Looks like it's not a matter of only processing 74 files at a time. It's processing all the files correctly, it's just that strnatcmp is case sensitive, so all the files and folders with capital letters appear first before files and folders with lower case letters.
Replacing strnatcmp with strnatcasecmp and the sort is now what I am expecting.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SniperFodder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant