Changing orders of Tables?

Final result:

				local Pre = {}
				for i = 1,#inputOrder do wait()
					table.insert(Pre, i, inputOrder[i]["Tool"])
				end
				for i = 1,#inputOrder do wait()
					inputOrder[i]["Tool"] = Pre[i - 1]
					if i == 1 then
						inputOrder[1]["Tool"] = Child
					end
				end

Thank you so much!

2 Likes