I am new to coding and have been looking for a tutorial for this online forever. I've decided to ask it here. So, I have a folder with 12 integer values, and I want to find out how I can list them from biggest to smallest using a table?
Do this
local values = folder where you store your IntValues local sortedValues = {} for _, v in pairs(values:GetChildren()) do table.insert(sortedValues, v.Value) end table.sort(sortedValues) for number in ipairs(sortedValues) do print(number) end