Question 4/13 fast.ai v3 lecture 11

What can you sort using sorted?

Answer

You can sort anything you can calculate a key for (or that has an attribute that can be used as a key). Turns out that includes also objects and... functions!

Relevant part of lecture