Summary
This specifies how the children of a given tree node should be sorted. The default behavior is to
sort based on the string value of the last component of the child node's tree path (I.e., the folder
or file name). The output document for each tree node is used as the input to the sort delegate.
Syntax
public Tree WithSort(Comparison<IDocument> sort)
Parameters
Name |
Type |
Description |
sort |
Comparison<IDocument> |
A comparison delegate. |
Return Value
Type |
Description |
Tree |
The current module instance. |