Domanda di colloquio di Amazon

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