Put it this way, if I was going to do this in Wordperfect, I'd select all the text, then create a table with one column ... then I could sort THAT file on the first word of each line. You have to create an output file that has a different name to output to.