Hello,
I am trying to sort a file in Urdu by the character by which it ends. Each word is on a separate line
An example in English would help:
I need the sort to be on the last letter of the word and then sorted recursively in reverse order
A macro or a script would do just great.
Just in case someone wants to work with live data, here is a small sample:
Many thanks
I am trying to sort a file in Urdu by the character by which it ends. Each word is on a separate line
An example in English would help:
Code: Select all
lychee
fruit
banana
apple
pear
cherry
Code: Select all
banana
lychee [i]This comes before apple[/i]
apple
pear
fruit
cherry
Just in case someone wants to work with live data, here is a small sample:
Code: Select all
ببا
ببجا
ببچو
ببد
ببر
ببڑ
ببز
ببستگيا
ببلا
ببلو
ببلے
ببلی
ببند
ببنسلکلگے
ببنسلکلئ
ببهنو
ببہتر
ببھا
ببھر
ببھی
ببو
ببيا
ببيشتر
ببے
ببی
بپا
بپتا
بپتسما
بپد
بپر
بپفسر
بپلی
بپھر
بپو
بتا
بتبا
بتتر
بتتے
بتتی
بتجد
بتجو
بتحقی
بتخے
بتد
بتذ
بتر
بتز
بتستا
بتصحی
بتصر
بتطا
بتعثنا