date: sept 29th 2023 #this is not what i want. $ sort -k1,1 -k2,2n input.bed > output.sorted.bed output order is {chr11, chr16, chr3,chr4,chr5,chr6,chr7,chr9} what i want is chr1 ... chr11