in reply to Re^3: Reformat Text File
in thread Reformat Text File

bah,valueA foo,valueB foo,valueC bar,valueD

results in

bah,valueA bar,valueD foo,valueB,valueC

and not

bah,valueA foo,valueB,valueC bar,valueD

Therefore, merlyn assumes they are sorted (or assumes the order of the lines in the result doesn't matter, but then why call sort?).