can you think of a way of using `sorted()`? you'll want to use the named parameter `key` in sorted.