ComponentOne List for WinForms
C1.Win.C1List Namespace / C1List Class / Sort Method / Sort(Int32,SortDirEnum) Method
The column number identifying the column to sort.
The sort direction.

In This Topic
    Sort(Int32,SortDirEnum) Method
    In This Topic
    Sorts a specific column for the control.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Sort( _
       ByVal col As Integer, _
       ByVal dir As SortDirEnum _
    ) 
    public void Sort( 
       int col,
       SortDirEnum dir
    )

    Parameters

    col
    The column number identifying the column to sort.
    dir
    The sort direction.
    See Also