So i have a word.txt file like this :
--------word.txt-----
a horse
b cow
c bird
b dog
c cat
a rabbit
----------------
and i want to output them with them in alphabetical order by the letter before main word. Ex horse, rabbit, cow, dog, bird, cat

Is this possable? Can you give me a quick example script of how to do this.

Thanks