Preference to disable variables being sorted alphabetically

Greetings,

One small pet peeve I have with the engine is how variables are sorted alphabetically. Now, this isn’t inherently a bad thing, it’s nice or organization after all. But I like to have my variables sorted in a specific way, and the variables snapping to where I don’t want to kind of annoys me.

If it’s not too hard, could there please be an option to disable sorting alphabetically?

4 Likes

Agreed. I can’t stand how structures get sorted. It can make things difficult especially if you want to use a structure with a for each object event.

It also makes them more difficult to set up.

Say you have an array or structure of structures.
You have name, age and height.

Automatically sorted they become
Age
Height
Name

It’s easier to set up the structure as
Name
Age
Height

They could add a setting to enble/disable the sorting and add an item to the popup menu to sort the variables manually. The children themselves should be draggable.

1 Like

I have to agree with you and @Shadowbonnie7 a little bit. Normally the sorting is ok. But if I want to create a menu or store dynamically from a structured variable and I want the items listed in a specific order, like by player level, and I want to be able to update the store and add more items later, I have to get pretty creative with the naming process. Like a001WhiteTable.

2 Likes

I member creating awful looking naming conventions like this for the same reason.

1 Like