Not sure this belongs in Scripting Support, but whatever. How do I sort the order in which teams appear?
As you can see, the teams are a bit off. I want the owner to be at the top, staff below that, then member, then guests. So, how do I do this?
Teams are sorted alphabetically, you can reorganize them by putting numbers in front and deleting them after. Ex. 1Owner 2Staff 3Member 4Guest, then delete the first numbers. And your teams should be organized.
They are actually not. They are sorted based on the order they were inserted in. Usually what I do is have a table with the teams data, then loop through it using ipairs and create the teams. This way the order will always be constant.