Sorting strings in reverse order

view full story

http://www.unix.com – Hello, I have a large database of words and would like them sorted in reverse order i.e. from the end up. An example will make this clear: Quote: John Mary Henry does doing writes Quote: doing does writes Dennis Mary Henry I have tried to write a program in Perl which basically takes the string from the end and tries to sort from that end but it does not seem to work. I also tried to invoke the scalar reverse function but this does not work. The data is in an Indic languag (HowTos)