> > > Actually, this case is also pretty nice, since cmp() works on almost all > the basic Python types, including tuples! > >### > def compare_by_second_then_lowered_third(a, b): > return cmp( (a[1], a[2].lower()), > (b[1], b[2].lower()) ) >### > > *grin* > now that is a wicked pisser! Thanks Danny.