"Raymond Hettinger" <vze4rx4y at verizon.net> writes: > Py2.4 will have a classmethod called list.sorted() that accepts any > iterable as an argument and returns a new sorted list as a result. > It can be used anywhere you can use an expression (function call > arguments, lambdas, list comps, etc). Oh cool, although it means allocating more memory for the new list.