How To Sort A List Using Lambda Function In Python