I’m trying to recreate the studio explorer so that I can use it on live servers for debugging.
And I want it to be as close to the studio explorer as possible.
I don’t understand how the explorer sorts instances.
The issue is that the “:GetChildren()” function does not return a table in which the
instances are sorted in the same way.
For example:
This is how the explorer displays my workspace:
And this is what “workspace:GetChildren()” returns:
I have tried using the “table.sort” function on both the instances names and classnames
but that didn’t seem to work. I have spent the last 40 minutes googling but I didn’t get anywhere.