ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / GridTree Class / Sort Method / Sort(Int32,IComparer) Method
Level of the nodes to sort.
An System.Collections.IComparer object that compares Node objects.

In This Topic
    Sort(Int32,IComparer) Method
    In This Topic
    Sorts all nodes at the given level using the specified comparer.
    Syntax
    'Declaration
     
    Public Overloads Sub Sort( _
       ByVal level As Integer, _
       ByVal comparer As IComparer _
    ) 
    public void Sort( 
       int level,
       IComparer comparer
    )

    Parameters

    level
    Level of the nodes to sort.
    comparer
    An System.Collections.IComparer object that compares Node objects.
    See Also