8

Sort lines by unicode value

view full story
linux-howto

http://unix.stackexchange.com – I'm trying to sort a text file linewise by their Unicode values. As far as I can tell, this means numerals first, then letters, then CJK-Ideographs. However, sort (with LC_ALL=C) fails horribly at this task. Here is an excerpt from my list: [#ゆうかりんちゃんねる] [チ→ム♂ツナギ] [ぞめ] ... [サディスティックブラウニー] [ほねとかわとがはなれるおと] [10th Avenue Cafe] [2nd Flush] ... [Alstroemeria Records & Cradle] [ALTERNATIVE] [アルトノイラント - Altneuland] [Amateras Records] [セブンスヘブンAmmy's] [anagram] [Analyze] ... [Z.S. (HowTos)