That is awesome that cmp will compare items in a tuple in sequence like that. Never knew that.