Racing Game Positioning system

I think I’m missing something in my setup vs what you’ve implemented. Would you mind sharing your blueprint? This is what I’ve done based on what you said:

In that first For Each Loop I’ve got, I’m grabbing the bikes at random and simply adding them to an array. Then you’re suggesting I use a For Loop (you said For Each, but I think you meant For so I can specify the end index) to go from the last index of the race progress to the first. The problem with this is that the array isn’t sorted in any order at this point (in my code) so it wouldn’t matter what order I grab them in. Forward or backward, the Max Of Float Array is what’s doing the sorting. Then you said I don’t need the Race Position Increment, but the reason I had this is because this is how I know what position to assign the bikes. In my setup I assumed that if I’m getting the max float from the list, then I would assign that bike a value of “1” for first place, and then increment the RacePoisition so that the next highest value gets assigned a value of 2, etc. etc. So if I’m getting rid of that, I have no idea how to assign the correct race position to my bikes.
I think the reason why this doesn’t change anything with my code is because I’m not actually sorting them into an array again, I’m simply pulling them out and assigning a value.
I think your code is just built properly and mine is garbage, so if you could share what you’ve done it would really help.