I would recommend looking into sorting like objects with the
__getitem__ method.
http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/b2d0580792b94a7/a707054ec3302a6e
has a lively discussion on this topic.
Search google for "__getitem__" and "sort" for more information.
On Tue, 22 Mar 2005 13:15:15 -0500, Leeds, Mark wrote:
> I want to do a sort on a list of objects based on a similar attributes in
> each object for example time of creation of this object.
>>>
>>> class Student:
... def __init__(self, name, age):
... self