This is a consequence of the locale you're in following the collation
rules of ISO/IEC 14651:2011 (you can download a copy from
http://standards.iso.org/ittf/PubliclyAvailableStandards/index.html).
Once you dig through the syntax, this specifies that U+002E (".") is an
"ignorable" character for the purposes of ordering, so it's only
considered if the strings are otherwise equivalent.
This kind of algorithm generally fits natural-language ordering somewhat
better, so it's used for most natural-language locales in libc, but of
course isn't suitable for ordering things that care more about
ASCIIbetical ordering. If you want that, then you should set this
environment variable:
LC_COLLATE=C
** Package changed: coreutils (Ubuntu) => eglibc (Ubuntu)
** Changed in: eglibc (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1081683
Title:
sort inconsistent
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1081683/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs