Table of Contents

Method Sort

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

Sort(IComparer<ISyntaxNode>)

Sorts the ISyntaxNode in the child list using the specified comparer.

public virtual void Sort(IComparer<ISyntaxNode> comparer)

Parameters

comparer IComparer<ISyntaxNode>

The IComparer implementation to use when comparing nodes.

Remarks

This method is recursive, so if some node in the child collection has children they are also sorted.