Re: ls sort order again
The environment variables LANG and LC_COLLATE control sort order and regex
pattern matching expansion.
See files: /etc/environment and possibly /etc/profile (if edited...)
LC_COLLATE is set via LANG (or LANGUAGE) unless overridden via the shell.
Use the command "locale" to see the current values.
I have always used LANG="C" or "POSIX" which pays attention to the case:
If you want the other rules use LANG=en_US (or just for the sort order,
LC_COLLATE="en_US") to get: