Sort Array Using Lambda Function In Python Definition