Sorting Float Array Numerically?

I have a struct for 2 values (integer and string) … it is a struct to save highscore (int) and player’s name

Is there a way to add a new highscore and sort this way? but i can’t use “Max of array float” on my struct array, because it’s not a float array.