Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ListColumn Class / Sort Method / Sort(SortOrder,IComparer) Method
A SortOrder value indicates the order for sorting.
A System.Collections.IComparer value indicates the comparer for sorting.


In This Topic
    Sort(SortOrder,IComparer) Method
    In This Topic
    Sorts the items in the collection by the column relating SubItems.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Sort( _
       ByVal sortOrder As SortOrder, _
       ByVal sortComparer As IComparer _
    ) 
    'Usage
     
    
    Dim instance As ListColumn
    Dim sortOrder As SortOrder
    Dim sortComparer As IComparer
     
    instance.Sort(sortOrder, sortComparer)
    public void Sort( 
       SortOrder sortOrder,
       IComparer sortComparer
    )

    Parameters

    sortOrder
    A SortOrder value indicates the order for sorting.
    sortComparer
    A System.Collections.IComparer value indicates the comparer for sorting.
    See Also