Greetings,
I have multiple objects in a folder that are named as such: 0, 1, 2, 3 etc. The problem is, since I am constantly shuffling them around and changing them, they become: 2, 0, 3, 1 etc. (unorganized). How can I sort them by their names? Thank you!
1 Like
TrotCobra
(TrotCobra)
January 14, 2023, 12:12am
2
Are you talking about organizing it scripting wise, or what is the goal?
he is talking about when you like have a folder and there are parts in the folder then they are sorted like this:
1
2
3
4
5
TrotCobra
(TrotCobra)
January 14, 2023, 12:19am
4
how to organize them in a script?
rabbi99
(Stellar)
January 14, 2023, 12:22am
5
I assume you mean this is happening in the Roblox Studio explorer? If so, then that’s not a scripting question.
Yea, that’s what I meant in my question.
E7LK
(Elk)
January 14, 2023, 8:17am
7
You can’t really move them around in the studio UI, but if you have them in a table you can use this:
table.sort(t, function (a, b)
if a < b then
return a
end
end)
3 Likes
system
(system)
Closed
January 28, 2023, 8:17am
8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.