The CFTree type includes two functions that are very similar to other Collection Services functions. The
CFApplyFunctionToChildren
function applies a program-defined applier function to the children of a parent CFTree object. The
CFTreeSortChildren
function sorts the children of a parent CFTree object using a comparator function that you can define (or employ, as long as it comforms to the
CFComparatorFunction
type).
CFApplyFunctionToChildren
.
CFArraySortValues
function; much of this information is applicable to the
CFTreeSortChildren
function.