Question : unity how to reorder a list
Answered by : jittery-jaguar-ucmtd657052n
texts.Sort((a, b) => a.transform.GetSiblingIndex().CompareTo(b.transform.GetSiblingIndex()));
Source : https://forum.unity.com/threads/how-to-reorder-lists.991499/ | Last Update : Tue, 11 Jan 22