Fortinet interview question

Implement a sorting algorithm on the white board.