This example shows how to resort the nodes of the tree. When disabling convertTypes, the columns become strings and thus affecting the sorting order. The sorting order can be also parametrized by
ascending: true
(default is false)sortByHeight: true
(default is false). Now the sorting is done for each group based on the height of the node.The height of a node is the greatest distance from any descendant leaf.
Acknowledgements: