Python Sorting Numbers Using Quick Sort Complexity