Question d’entretien chez Amazon

Oa question regarding reading 2d array and sorting it.