Sort Umg widgets based on variable

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