Sorting Dictionary In Python Using Lambda