sortChildren method
Sorts the list of children of this container using a custom comparison function.
Implementation
void sortChildren(SortChildrenCallback compare) {
children.sort(compare);
requiresRedraw();
}
Sorts the list of children of this container using a custom comparison function.
void sortChildren(SortChildrenCallback compare) {
children.sort(compare);
requiresRedraw();
}