Sorry for bugging, I think this can be closed.
I found that I need to set LC_COLLATE=C in the environment to get the desired 
sort order.
The man page has a small hint regarding the default order depending on the 
locale setting, which I did not interpret correctly.
I was not suspecting that the regular US locale setting would give a different 
sort order than the "C" setting.

locale>
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/683662

Title:
  sort has wrong order i.e. defaults to -f option

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to