alphabetizing using javascript.

does anyone know a script to alphabetize game objects in unity?
i’m using javascript. my searches haven’t found me anything other than a post using linQ.

1 Answer

1

Did you search for ‘array sort’?

Make a class that implements IComparer and pass its Compare function to a List.Sort method.

i dont know how to do that still learning this

But I linked you to it. That place is chock full of sample code, just click through the links.