I’ve got a array that I need sorted in a certain way and I’m struggling
to figure out how to make it happen the way I want.
Basically the array needs to be sorted like this:
[A, B, C, AA, AB, AF ]
that is, a single alpha character before it sorts the next character.
However, what I end up with when I sort is:
[A, AA, AB, AF, B, C]
How would I sort A to Z then AA-ZZ?