View Single Post
04-20-15, 05:07 AM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
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.
  Reply With Quote