sort the batch files