On Tue, Oct 18, 2011 at 5:56 AM, Victor Young <email@example.com> wrote:Short answer: such tables do not have a stable iteration order (it's
> just in the order of how I construct the table, how could I do? Thanks!
the usual semi-random hash table thing)
To get the order you want, one way is to keep a sub-table of the keys
in order, and use that for iteration.