A sorted file (with LANG = fr_FR.UTF-8
) contains :
Bassano del Grappa - Remondini, Giuseppe, II (1745-1811)
Bassano del Grappa - Remondini, Giuseppe, I (1672-1742)
...
Zurich - Wolf, Johannes (1564-1627)
Zurich - Wolf, Johann Rudolf, I (15..-1624)
No problem with accentuation. But, why II
before I
or Johannes
before Johann
?
(that's on Red Hat Enterprise Linux Server release 6.6 (Santiago)).
LC_ALL=C sort
? – jlliagre Mar 09 '18 at 13:55I
sorts before1
in that locale. What's the output ofprintf 'I\n1\n' | sort
? – Stéphane Chazelas Mar 09 '18 at 14:25