Skip to main content
Question

How to sort a list in A360

  • August 17, 2023
  • 4 replies
  • 546 views

Forum|alt.badge.img+1

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
Forum|alt.badge.img+5
  • 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


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • August 25, 2023

Hi Awilson, 

Thank you for your help.

 


Forum|alt.badge.img
  • 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
Forum|alt.badge.img+3
  • Navigator | Tier 3
  • September 7, 2025

if list item size is small then you can use loop