Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mergeTable(tableOne, tableTwo)
- local new = {}
- for _, v in ipairs(tableOne) do table.insert(new, v) end
- for _, v in ipairs(tableTwo) do table.insert(new, v) end
- table.sort(new)
- return new
- end
Advertisement
Add Comment
Please, Sign In to add comment