Python Array Sort Lambda Python Syntax