question: public static List < File > sortInBatch ( File file , Comparator < String > cmp ) throws IOException { return sortInBatch ( file , cmp , DEFAULTMAXTEMPFILES ) ; }
target:  This will simply load the file by blocks of x rows, then sort them in-memory, and write the result to temporary files that have to be merged later.