<human>:  How to sort a list of objects , based on an attribute of the objects?
<bot>: Here is some code to reverse list `ut` based on the `count` attribute of each object

ut.sort(key=lambda x: x.count, reverse=True)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.