public Optional<Map<String, ImmutableTreeNode>> getChildren() {
        return Optional.ofNullable(this.children);
    }
An immutable and sorted version of TreeNode

Entries in the children map are sorted first by whether they have
any children, and then alphabetically
common/src/main/java/me/lucko/luckperms/common/treeview/ImmutableTreeNode.java