Sorting In Python Using Lambda Function