Fortinet Interview Question

Implement a sorting algorithm on the white board.