I want to sort an array of strings so that alphabetic characters are always before any other kinds of characters. For example:
["800", "word", "test"]
Should sort to:
["test", "word", "800"]
The alphabetic strings can have numbers in them, but they can't have them as the first letter. So for example, if it's "ab8s" that should still come before "dog".
How would I do this? The comparison operators in Swift by default sort numbers before letters.