J
jeff lane
I want to sort 18000 records alphanumerically by more than one value as
below
t123abc m123abc
mx54bcd m123cde
m123abc t123abc
t123bcd t123bcd
mx04bcd fx04abc
mx04abc mx04abc
fx04abc mx04bcd
mx54abc fx54abc
fx54abc mx54bcd
m123cde mx54abc
The row on the left is unsorted.
The row on the right is sorted alphabetically by the first letter then by
the numbers then alphabetically. However, if there is a second letter it is
sorted alphabetically by the first and second letter and then by the next
two numbers then alphabetically.
The first number is always 0 or 5, the second number changes according to
the year.
Any help gretefully received.
jeff
below
t123abc m123abc
mx54bcd m123cde
m123abc t123abc
t123bcd t123bcd
mx04bcd fx04abc
mx04abc mx04abc
fx04abc mx04bcd
mx54abc fx54abc
fx54abc mx54bcd
m123cde mx54abc
The row on the left is unsorted.
The row on the right is sorted alphabetically by the first letter then by
the numbers then alphabetically. However, if there is a second letter it is
sorted alphabetically by the first and second letter and then by the next
two numbers then alphabetically.
The first number is always 0 or 5, the second number changes according to
the year.
Any help gretefully received.
jeff