"How to sort a list of objects , based on an attribute of the objects?","ut.sort(key=cmpfun, reverse=True)"