So long story short I need to have a list of all the items within a certian model. So I thought Instead of looping through each item I need a list of I could just use :GetChildren(). However I need the list to be in order for another part of my code to work properly, so is there any way to get a consistent order out of GetChildren.
Ex.
-- Ik these are lists but for the sake of argument imagine each item in the list is an object inside the variable
local numbers = {1,2,3,4,5,6,7,8}
local otherNumbers = {1,2,3,4,5,6,7,8}
local otherOtherNumbers = {1,2,3,4,5,6,7,8}
numbers:GetChildren()
otherNumbers:GetChildren()
otherOtherNumbers:GetChildren()
For instance I would want all of these to return all of the numbers in order (absolutely essential they are in order), yet for some reason, 1 might consistently return (2,3,4,5,6,7,8,1) , and Im not sure what else to do about it. Lmk if that makes sense or if anyone needs a code sample to understand what im asking.

2 comments
I'm not sure if theres even a kind of order in :GetChildren()
Well I wouldn't think so, but there has to be