I've never really required this before, but how would I loop through a dictionary similar to the following:
local Dictionary = {
['Thing'] = true;
['Thing2'] = false;
['SomeOtherThing'] = "Hi";
};
...in order?
The Next and Pairs iterators wouldn't work due to them not looping in order, and the ipairs iterator wouldn't work as the indexes are not numerical. This loop needs to be run without prior knowledge of the structure of this dictionary, so I cannot have a pre-set table of indexes which it reads off and compares with the dictionary.
I also require the index and value of each as variables which I can use within the loop.
Any ideas?

2 comments
What order do you want to them to read in? Alphabetical? In the order they were added?
Order they were added.