TL;DRAdding an "order" property to LuaGuiElement, to be able to sort (e.g.) buttons
What ?An "order" property would define the display order of LuaGuiElement like buttons, and work just like the recipe's order property.
Why ?Currently, GuiElements are displayed by order of creation and the only way to re-order the buttons is destroying and re-creating them, which can bring a number of problems (and sometimes not work). The index property is read-only.
In my mod, I'm unifying top-left mod buttons. One thing that could make it better: being able to sort them by theme, importance etc.