How To Test
1) Type all the characters of language in text file. One character at each line.
Example: For testing hindi language file text file should be like.
2) Open terminal and type following command.
$LANG=hi_IN.utf8 sort Test_File > Sorted_File
here hi_IN.utf8 is locale for language, sort is command for sorting. Test_File is input file name, Sorted_File is output file name.
3) Sorted for you language is now available in Sorted_File