Array in component on client is different than server even when replicated

So for some reason i cant figure out, is that these two arrays even being replicated are not putting the actors in the right order when done on a component.

If its coded on an actor then it works fine. Any ideas how to sort it without having to reorder the array on the client side?