In response to runrig's comment that the code posted "appears to just be doing a plain sort on the data", sorting on
was a little misleading. I do need to sort on other columns, my example just used the first. As a side note, a plain old sort would not bump my memory limit (at this file size anyway), but I need a more complex sort, hence my use of the Schwartz (Spaceballs, anyone?).