sort(key=lambda x: x.start) python code example Example: python sort based off lambda a = sorted(a, key=lambda x: x.modified, reverse=True)