Sort List Using Lambda Function In Python