On Nov 2, 3:36 pm, "Andrew Koenig" <[EMAIL PROTECTED]> wrote: > <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > I would want to sort by name first, then sub sort by location. Any > > ideas? Thanks! > > In Python 2.3 and later, sorting is stable -- so you can sort successively > in reverse order. In other words, sort the list by location, then sort the > sorted result again by name and you should get what you want.
I'm using Python 2.4 and I thought that was the first thing I tried. Let me verify. Thanks! -- http://mail.python.org/mailman/listinfo/python-list