can you think of a way of using sorted()?

python functions can take **named** parameters. if you look at the documentation for sorted, there's a named parameter called **key** which allows you to sort a list of things based on the value you get by applying the key function on all the items in the list.

so if you want to compare strings based on length, you can pass in `key=len`