sort data externally with 4GB of RAM