Question d’entretien chez Genentech

How would you write a sorting function?