Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBase<T> Class / Sort Method / Sort(Int32,Int32,IComparer<T>) Method
The zero-based starting index of the range to sort.
The length of the range to sort.
The IComparer implementation to use when comparing


In This Topic
    Sort(Int32,Int32,IComparer<T>) Method
    In This Topic
    Sorts the elements in the entire ListBase<T> using the specified comparer.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Sort( _
       ByVal index As Integer, _
       ByVal count As Integer, _
       ByVal comparer As IComparer(Of T) _
    ) 
    'Usage
     
    
    Dim instance As ListBase(Of T)
    Dim index As Integer
    Dim count As Integer
    Dim comparer As IComparer(Of T)
     
    instance.Sort(index, count, comparer)
    public void Sort( 
       int index,
       int count,
       IComparer<T> comparer
    )

    Parameters

    index
    The zero-based starting index of the range to sort.
    count
    The length of the range to sort.
    comparer
    The IComparer implementation to use when comparing
    See Also