void () { if (isSorted()) return; update(); TreeUtil.listChildren(this).forEach(node -> { if (node instanceof PackageDependenciesNode packageDependenciesNode) { packageDependenciesNode.update(); } }); sortChildren(); }