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


in reply to Sorting data that don't fit in memory

jeroenes:

You might consider doing the work with an external sort program. In Unix / Cygwin you can use sort. You don't want to hand it a binary file at the start, but you're starting with text files anyway.

...roboticus