sort the BAM files