Closed Beakerboy closed 1 year ago
Use the sorted function
sorted(list, key=lambda x: (len(x), x.name.upper()))
Using an actual red black tree
Use the sorted function
sorted(list, key=lambda x: (len(x), x.name.upper()))