Skip to main content
Cadet | Tier 2
August 17, 2023
Question

How to sort a list in A360

  • August 17, 2023
  • 4 replies
  • 651 views

Hello, 

I have a list variable. I need to sort the items in it from the smallest to the largest. Is there a way to do that without having to use a datatable? 

4 replies

AWilson
Navigator | Tier 3
August 17, 2023

Hello,

 

The way I have achieved this without using a Data Table is by writing the list to an excel table then using the excel sort table command:

 

 

You can then read the data back in by using a read column command:

 

That’s the only way I can recommend without using a Data Table.

 

I hope this helps.

Adam

franlemFGAuthor
Cadet | Tier 2
August 25, 2023

Hi Awilson, 

Thank you for your help.

 

Cadet | Tier 2
September 4, 2025

Wrote a JavaScript function to sort the list and run it from AA... which in turn much faster and efficient than  do it through excel.

Pravin 3017
Navigator | Tier 3
September 7, 2025

if list item size is small then you can use loop 

 

Pravin