Question d’entretien chez Apple

How would you sort an array in-place?