Parent Module: tree
Tree.Node extension that adds methods useful for nodes in trees that use the
Sorts this node's children.
sortevent will be fired.
Custom comparator function to use. If specified, this will become the node's new comparator function, overwriting any previous comparator function that was set for the node.
true, children will be sorted in reverse (descending) order. Otherwise they'll be sorted in ascending order. This will become the node's new sort order, overwriting any previous sort order that was set for the node.
Source of the sort operation. Will be passed along to the