Létezo <[EMAIL PROTECTED]> writes: > > I then thought I'd just go events.sort(lambda x,y: x[2]<y[2]) and call
Use:
events.sort(lambda x,y: cmp(x[2], y[2]))
or:
events.sort(key=lambda x: x[2])
--
http://mail.python.org/mailman/listinfo/python-list
