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
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