The Linux sort command can sort a file however you’d like. If, for example, your file has the date in mm/dd/yyyy format in the first field, you can use the following:
sort -n -t”/” -k3 -k1 -k2

The Linux sort command can sort a file however you’d like. If, for example, your file has the date in mm/dd/yyyy format in the first field, you can use the following:
sort -n -t”/” -k3 -k1 -k2