Compiles a SortExpression into a comparator for TreeNode objects.
Like compileSortExpression but reaches into node.data to access the sort key, which is the standard layout for tree datasources.
node.data
The data payload type carried by each tree node.
The sort expression to compile.
A comparator function (a, b) => number operating on tree nodes.
(a, b) => number
Compiles a SortExpression into a comparator for TreeNode objects.
Like compileSortExpression but reaches into
node.datato access the sort key, which is the standard layout for tree datasources.