While count < nRecords { Read in File Add File to List increatemt count } Sort List Dump List to New File