in reply to Re^2: Sorting within a filein thread Sorting within a file
perl -e "print sort {$a <=> $b} <>" test.txt [download]