Sort Tables Alphabetically doesn’t always force generate files to re-order certain items according to UI. (In my case Multiple Detail buttons in Master page) resulting in [1] [4] [2] [3] Detail buttons layout
So to circumvent this I need to create a temporary table and perform Copy Table Settings, Copy Field Settings
and re-sort the tables in a way it will render correctly in generated files.One thing I need is Copy Code Settings, it will be faster than manually copying code 1 node branch at a time as I do now.
After I manually copy the server events code and the new table is cloned correctly, I delete the old table and then the re-ordering is correct.Please consider adding Copy Code Settings [SOURCE TABLE] [TARGET TABLE]or export/import xml is another option for Server Events codeNOTE: Because Main Tables always are rendered first then View Tables, in these situations I decide to ditch Main Tables and use all View Tables because it is easier to maintain the ordering manually.