# Primary Asset List

**URL:** <https://forums.unrealengine.com/t/primary-asset-list/2651877>\
**Category:** Programming & Scripting\
**Tags:** arrays, data, unreal-engine, question, Blueprint\
**Created:** [August 28, 2025, 7:07pm UTC](https://forums.unrealengine.com/t/primary-asset-list/2651877 "2025-08-28T19:07:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [August 28, 2025, 8:23pm UTC](https://forums.unrealengine.com/t/primary-asset-list/2651877/2 "2025-08-28T20:23:43Z")

</div>

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.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/2/8f2f736b68d1b5f2f0b26c2eb9a596e8a49425b9.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/c/87c04529ccc267f0f8e266d9d63e9c672ca62115.png)

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

- [How can I sort items in array by properties?](https://forums.unrealengine.com/t/how-can-i-sort-items-in-array-by-properties/281159)
- [BluePrint Array Sort](https://forums.unrealengine.com/t/blueprint-array-sort/437885)
- [Sort Array Inventory by Amount](https://forums.unrealengine.com/t/sort-array-inventory-by-amount/444236)

Hope it helps!

---

_[View the full topic](https://forums.unrealengine.com/t/primary-asset-list/2651877)._
