MedExpert Interview Question

Sort algorithm, 2 dimension array