Question d’entretien chez Amazon

Asked me to sort an array not using a common sorting algorithm.