sortChildren method
Sorts the child list according to the order specified by the compare
Function.
Implementation
void sortChildren(int Function(DisplayObject a, DisplayObject b) compare) {
_children.sort(compare);
}
Sorts the child list according to the order specified by the compare
Function.
void sortChildren(int Function(DisplayObject a, DisplayObject b) compare) {
_children.sort(compare);
}