Translations:Extension:Scribunto/Lua reference manual/244/en

Note that the order in which the keys are returned is not specified, even for tables with numeric indexes. To traverse a table in numerical order, use a numerical for or ipairs.