Subway interview question

Explain a sorting algorithm to me