How can I sort an array first by length, then alphabetically?
I have a list of things with numbers on them, and I am currently getting:
Something1
Something10
Something2
Something3
Whereas I want to get:
Something1 Something2 Something3 Something10
Then use: