http://qs321.pair.com?node_id=667926


in reply to Sort lines in a file

On a unix like system you can do sort in.txt > out.txt.