Skip to main content
2 of 6
deleted 6 characters in body
hucko
  • 31
  • 2

Scala, 107 bytes

_.filter(_.isLetter).groupBy(c=>c%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(t=>(t(0),t(1))).mkString

Try it online!

hucko
  • 31
  • 2