You could set up a data page with the names of each stat and just have a Width property assigned to each stat, ie:
Code:
|- WidthPage
|- Health (Width = 150)
|- Power (Width = 150)
|- CritChance (Width = 40)
Then setup window elements to be saved and assign their height (or something) to be the number of the location of the element (the order). You do this by locking that window and then setting a property, and then unlocking it.
Have another page where you have a numbered list
Code:
|- OrderPage
|- Stat1
|- Stat2
|- Stat3
...
When you initiate the code, you would load the pages and OnShow for each window that got saved it would read the Height value, and fill into the appropriate OrderPage element. Then you would load each element (going in order 1, 2, 3, etc, and use the values from datapage with the Widths to fill in the actual stat bar.
I thought about doing this for a while, but decided it's just too much code for a little bit of customization that doesn't truly affect how you play the game

I wanted to wait for LUA to make it more realistic and uncluttered code.

Plus each time you would want to reorder one stat, it would have to recall all the code, and it seems like such a clusterf*ck to do.