pienter2
(Mango)
1
Is it possible to loop through this in order considering the number the “pa” thing is given?
local MyTable = {
["pa3"] = "NoPlant",
["pa4"] = "NoPlant",
["pa2"] = "NoPlant",
["pa1"] = "NoPlant"
}
Donas995
(notcorotyest)
2
The indexes that are strings
are automatically sorted by lua.
Donas995
(notcorotyest)
3
(Sorry for the late reply, I leave opened the page)
1 Like
pienter2
(Mango)
4
Thanks for the respond. I don’t need help anymore. Fixed the problem diffrent way than sorting dictionary.
Donas995
(notcorotyest)
5
Oh, don’t worry.
Can you close the post giving the answer?