There are several different variants of the sort utility available (I use zsort). Also depending on what you are doing maybe a DOS utility would be better for extracting or finding what you are looking for.

I use this line to extract a line associated with a specific computer.

Type l:\machines.ini | Find "%computer%" /i > l:\pcfile.tmp

_________________________
Jack