How can you sort everything in model in a alphabethical order

hello i was working on my game and i renamed ever object inside a model tho how can i sort everything in alphabethical order because now everything now is messy and i want to rig it soon and recolor it

pretty sure it automatically does that, if it doesn’t, then just put all of the assets into another model and then put it back into the original.