We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Sort Tool: Sort string

RichardAlt
8 - Asteroid

Hi All,

 

I'm using sort tool to sort my string.

This is my output when I try to used Sort tool.

TRAD CPF Payment 7/09-11/09/20
TRAD CPF Payment 31/08-04/09/20
TRAD CPF Payment 21/09-25/09/20
TRAD CPF Payment 14/09-18/09/20

 

I want something like this,

TRAD CPF Payment 31/08-04/09/20
TRAD CPF Payment 7/09-11/09/20
TRAD CPF Payment 14/09-18/09/20
TRAD CPF Payment 21/09-25/09/20

 

Thanks!

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @RichardAlt 

 

Is there any specific involved in the sort like date or something?

atcodedog05
22 - Nova
22 - Nova

Hi @RichardAlt 

 

I went ahead and considered last 8 digits as date in dd-mm-yy format.

 

Output:

atcodedog05_0-1602153352900.png

Workflow:

atcodedog05_1-1602153367355.png

Hope this helps 🙂

 

If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

 

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @RichardAlt 

 

Cheers and happy analyzing 😀👍

grazitti_sapna
17 - Castor

Hi @RichardAlt , you can try it with regex as well unless/until the date format remains same.

grazitti_sapna_0-1602154554632.png

 

Thanks.

Sapna Gupta
Labels
Top Solution Authors