Sorting a two dimensional array using the sort command.