How do i sort a gameobjects array by its siblingIndex ????

Options
Devesh
Devesh
I Have this line of code and I want it to sort by its transform.SiblingIndex() can anyone help me with this and very very thanks that you view my ques and if you answer me god will help you with your code THANKU IN ADVANCE
GameObject[] pycs = GameObject.FindGameObjectsWithTag("Pieces").OrderBy(go => go.name).ToArray();