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!