Python Sorting Numbers Using Recursion