Understanding the sort order: LC_COLLATE

This script shows all characters from ascii char 32 to 126. That will most likely cover all chars you ever used in file names:

And that is important, because knowing this order means that you can further sort you file system, by defining files and folders which are listed first. We assume:

We can then use underscores as first letter in folders to make them appear before other folders.

max,