I have a spreadsheet (technically a Google Sheet) I transcribed from a script of a musical. Each line is its own row, and has the name of the person who said it and the number of words in the line in the same row.
I want to make a list of people who have lines sorted by the total number of words they've said. What functions can I use to do this?