Domanda di colloquio di E-Cell IIT Madras

How would you sort a 2D Matrix