Creates a tree structure from the given array.
The array to create the tree from.
The tree nodes comparator.
the result tree.
Generated using TypeDoc
Creates a tree structure from the given array.