How to find the biggest number in the variable with many instances in anoher actor

also if it helps my blueprints are almost the same as the ones at the youtube playlist
since it’s only one showing how to make a turned based rpg
mine is different in that i used 2d characters and (for now)no animations
i’m trying to use the speed integer variable instead of the progress bar he uses on video 4
so that the unit with the highest speed gets their turn first or if the 2 or more units with higest speed randomly have one of them