Sort Umg widgets based on variable

hey! i am trying to make a dps Meter (similar to addons used in World of warcraft) it currently works, populating bars widgets with names and numbers, however i would like a way to arrange these based on the bar widgets dmg variable.
Photo of setup below

I would recommend you remove the static widgets add them dynamically, at this point sorting them using your rules is simple.

How would you go about oredring structs that contain a integer based on said integer?

Sorry for delay, I do not seem to have notifications enabled.

Indeed without a map it is less fun, perhaps a relational array, but originally I envisioned simply adding them to your container in defined order.

Here are some guys that have proposed a variety of sorting techniques, I have not peered too closely.

How to sort a struct