Skip to content

TreeNodeVChildren.sort method

TreeNodeVChildren › sort

Unofficial

Sort the children using the provided comparison function.

Signature:

sort(compareFn: (a: Item, b: Item) => number): void

Parameters:

Parameter Type Description
compareFn (a: Item, b: Item) => number The comparison function for sorting.

Returns: void