Question d’entretien chez E-Cell IIT Madras

How would you sort a 2D Matrix