score:6

you probably want a non-locale-aware sort:

lc_collate=c sort file.txt

that may affect the way non-roman characters are sorted, but it will avoid issues with dashes and whitespace, which many default european locales ignore for collation purposes.


Related Query

More Query from same tag