Primary Asset List

Hi, how can I specify the order of the elements read in each loop? Should I change something in their names or properties? Or is there other way?

HI @Mando_2700 ,
By default, a For Each Loop will go through the array in whatever order the array currently has,If you need a specific order, you have to sort the array before looping.


I’ll also leave you some posts where they talk about the topic

Hope it helps!

Thank you for your response. However my array isn’t of any of the standard types. I tried something like this but I don’t know why it doesn’t work.

That’s how I solved it. Might help someone in the future.