Help: Sorting a text file

I need help using an array to alphabetically sort fields in
a text file.  I know how to sort in a program file, but I
can't seem to get it together setting up the array when
calling the text file.  Any help would be great.
Please post response or E-mail me some sample code at
bm...@hic.net
Thanks,

Billy.