Cochlear Interview Question

Draw on the board a sorting algorithm. General knowledge of sound processing.