Dear Tzungkuen,

You can use TextStat software
http://www.niederlandistik.fu-berlin.de/textstat/software-en.html

Words can be sorted in Excel. To sort words in the order of Pali
alphabet, you can temporarily replace letters with numbers like "01a",
"02i", "03u", etc.

With metta, Dmytro