SOLVED
Alphabet sorting
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Jake5
8 - Asteroid
‎10-26-2022
08:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I have an output file I'm trying to sort ascending on a column that basically lists the alphabet and after 'Z' it transitions to AA, BB, CC, etc. Right now, the sort is placing the double letters at the top, showing as..
AA
BB
CC
A
B
C
Ideally, I'd like the double letter values to sort after the single letter values such as...
X
Y
Z
AA
BB
CC
Is there a way to accomplish this?
Solved! Go to Solution.
Labels:
- Labels:
- Data Investigation
3 REPLIES 3
17 - Castor
‎10-26-2022
08:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Jake5 you could use an approach like this, where you measure the length of the field to get a count which you then sort on before sorting alphabetically on the data field itself:
binuacs
21 - Polaris
‎10-26-2022
08:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎10-26-2022
08:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you both!
