Sort array of playerstates by variable int

I’m trying to make an array of player states and add a umg result to list in order of score. Highest to lowest. hacing trouble figuring out how to do this.

Few options came to mind but looking for a clean method.

There’s the get Player Array, inside Game Mode, that has all the player states from the server.

Right by I’m trying to sort them based on a blue they contain highest to lowest.

Had a thought of something to check when I get home any server browser code that lest you sort the umg based on ping.

Based on a variable. Score so every player state has a score int. I want to return the list in order highest to lowest or lowest to highest

You can check already existing types of sorting in C++.

This sitecan ease you since it has the c++ implementation.

Victory Plugin has some extra sorting nodes for float and int, afaik.

I’ve created a blueprint routine for what I’m looking for so here it is for anyone else that may be looking