Glad this has been taken care of while I was asleep :-) One more detail: with the current implementation, you can actually get away with a function that returns -1 for less than and 0 for greater than or equal -- but don't tell anybody, since that's an artefact of the implementation (by Tim Peters :-). --Guido van Rossum (home page: http://www.python.org/~guido/)