Comparison of functions

Steven D'Aprano steve at
Sat Jul 30 18:25:54 CEST 2005

On Sat, 30 Jul 2005 13:30:20 +0000, Adriano Varoli Piazza wrote:

> But tell me, how do you think sort works if not with <, >, ==, <= and >= 
> ? I'm really interested.

How do you sort words in a dictionary? Why does five come before four
when the number five is larger than the number four? Why does hundred
come before ten? What does it mean to say that elephant is less than

When you can answer those questions, you will be enlightened.


More information about the Python-list mailing list