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

binuacs
21 - Polaris

@Jake5 One way of doing this

binuacs_0-1666799556839.png

 

Jake5
8 - Asteroid

Thank you both!

Labels
Top Solution Authors