A quick idea: populate a new array with these integers with same order as the actor reference array, then you can sort both arrays using this: https://youtu.be/i5pwHSpuf7U
A quick idea: populate a new array with these integers with same order as the actor reference array, then you can sort both arrays using this: https://youtu.be/i5pwHSpuf7U