It would be useful to have ways to enumerate all the children of a GuiElement in order of addition.
Whether this happens by giving access to the ArrayList containing the children (might be dangerous), through an iterator or through a method like GuiElement.getChild(int childIndex) is not very important, as long as a GuiElement can be sure to enumerate all its children in a known order (addition order is the most obvious).
For a use case, see the example in this thread.
Thanks.