Ian Kelly <ian.g.ke...@gmail.com> writes: > I would think that you can sort them with key as long as none of the > sequences are equal (which would result in an infinite loop using > either method). Why not this?
Yes you can do something like that, but look how ugly it is compared with using cmp. -- http://mail.python.org/mailman/listinfo/python-list