I have the following text in a buffer:
2 b
3 c
1 a
?
? d
The issue is that this is the text after running :sort (and :sort n ). My question is: why doesn't the superscripted numbers sort in the expected order, and how can I make them do so?
EDIT:
:%sort l failed for me as shown:
:language
show you? Before/after the:language collate en_US.UTF-8
command... Does it mentionLC_ALL
? If so, perhaps that's the problem... Also check thelocale -a
command in your shell, to see which locales are supported, isen_US.utf8
in the list at all? Maybe you don't have it installed? Are you on a Linux platform, if so, which distribution?