In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Alphabet sorting

Jake5
8 - Asteroid

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?

 

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

@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:

 

DataNath_0-1666799423987.png

binu_acs
21 - Polaris

@Jake5 One way of doing this

binuacs_0-1666799556839.png

 

Jake5
8 - Asteroid

Thank you both!

Labels
Top Solution Authors