Click or drag to resize

NGTreeNodeSortByOrder Method

The nodes in the array are sorted by order, i.e. by there hierarchy indices.

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void SortByOrder(
	NGTreeNode[] nodes
)

Parameters

nodes  NGTreeNode
Nodes to sort. On return, contains the same nodes, but in order.
Remarks
Presume you have some nodes that are noted by their indices: 1, 2, 3, 1.1, 1.2, 3.1, 3.2

The sort by order would sort these nodes in the following order:

1, 1.1, 1.2, 2, 3, 3.1, 3.2

.
See Also