Sort array of playerstate a by int variable

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.

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