How can I sort a list of text lexographically (like in a dictionary), with exception that letters (A, B, C, ..., Z) come before numbers (0, 1, ..., 9). So "AAAA" would come before "AAA1A" because "A" comes before "1" in the fourth position.
For example, sorting the following list:
AAAB
99
AAA1A
346AA
ZAAA
AAAA
5689
4AAA
should give me:
AAAA
AAAB
AAA1A
ZAAA
346AA
4AAA
5689
99
Thanks.
Bookmarks