If you are using a 'nix OS (includes Apple) there is a sort command that works like this:
sort myfile.txt > output.txt
There was one for MS-DOS that worked similarly, I don't know if it
still is available for Windows.
If you have python on your system, here is a simple 3 line script that
will sort a file:
x=file('inputFileName').readlines()
x.sort()
file('outputFileName','w').writelines(x)
Bill
