How to change the order of variables and widget elements in Graph Editing Mode

Is there still no way to change how the editor sorts the variables and the widget elements inside the list when viewed from `Graph Editing Mode`? My game is still in UE 5.5, but I made a test project in 5.6 and the problem still persists.

Depending how you created the widget it will first add in the list your variables and then all the widget elements, or the other way around.

If after you create the blueprint you add a variable before adding any elements in the widget, then variables will be first.

On the other hand, if you first add an element in the widget and then a variable, then the elements will be first.

This gets really annoying if you have old widgets, because if you add variables in a category, then your variables are separated by the whole list of widget elements. This is a simple test, but you can have a lot of widget elements marked as variable.

The editor should either have all variables with or without a category first, and then all widget elements with or without a category after, or the other way around, but not combined like this.

What makes this even worst is that if you remove the categories you end up with this:

In the end, variables are forced down, and when added back into a category they become separated as above, where you have first the categories, then widget elements, then variables without a category.

You should be able to just drag sort them. Same with functions.


Edit…
Design Elements cannot be re-ordered. Best you can do with them is create Sorted Categories and place relevant elements together. Naming conventions go a long way here.

Variables on the other hand are completely sortable and orderable as with their categories.

I know they are, which is really good when it comes to Instance Editable and Expose on Spawn.

There are instances where you don’t really need to set everything in categories. And if you set them inside categories, then variables and elements categories are going to intersect, and to avoid that you need to go into 2 layer categories UI | Rectangles / Variables | Stats (basic example).

That is why it would be better if by default the editor is sorting and keeping them together, elements together if they have or not categories, categories being before those without one, and the same for variables.

It doesn’t really matter if elements go first and then variables, or the other way around, just that they all go together if they have or not categories.