Python Sorting Numbers Using Lambda Function