My opinion is based only on the code you showed(in another thread)
I;m little confused, because what you wrote is contrary to what can be read in the code.
Tell me why it can’t be look like:
//...
ItemGroupRef->GetAllTransforms(Available);
Algo::RandomShuffle(Available);
for (auto SpawnArrayElements : ItemsIDArr) {
SpawnType = SpawnArrayElements.Type;
SpawnID = SpawnArrayElements.ID;
auto SpawnLocation = Available.Last();
Available.Pop();
switch (SpawnType) {
// ...