Virage Logic Interview Question

how to sort numbers in a recursive function