How long did this take you? I don't know vim wizardry and I was curious. Took me 4 mins to do the same thing in js console:
1. copy the text 2. split by \n 3. sort by length 4. you got sorted list
1. copy the text 2. split by \n 3. sort by length 4. you got sorted list