Based on what you posted, I assume you will be accessing values like this:
MyAddon.db.char.data_char_entering
...in which case there is no need for any order. As Rilgamon said, the Lua programming language has no concept of an order for the key/value pairs in a table. The order in which they are written out in the saved variables file is essentially random, and has no effect on anything.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
|