walk
walk copied to clipboard
Ordering of files/folders
Looking in the code there's a comment suggesting the files/folders come pre-ordered from the OS but the ordering seems strange.
It seems to be alphabetical, but with all capital letters being ranked higher than lower case letters..
Powershell in windows:
Bash in ubuntu (WSL2):
At least it's consistent but it might be nice to optionally allow internal sorting, making it case insensitive.
Just to add to this, I'd also prefer to see folders above files, but that's a nice-to-have
We can add such option.
We can add such option. Hi @antonmedv, I have added this enhancement and submitted a PR.
looks like the PR was closed without merge or comment?