1. Is there a way to delineate the end of data block, something line __ENDOFDATA__ ( if it exists ) ?
2. I was thinking more in terms of packing or caching the sort keys, but now I really don't think that's necessary. The file only contains about 400 lines.