.Net Framework > v2.0.50727 > System > Collections > Generic > List<T> > Sort Sort()
Sort(IComparer<T>)
Sort(Comparison<T>)
Sort(Int32,Int32,IComparer<T>)


Sort()

Category
Method
Description
Sorts the elements in the entire System.Collections.Generic.List`1 using the default comparer.
Type
void
Character
public
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort(IComparer<T>)

Category
Method
Description
Sorts the elements in the entire System.Collections.Generic.List`1 using the specified comparer.
Type
void
Character
public
Parameters
NameTypeDescription
comparerSystem.Collections.Generic.IComparer<T>
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort(Comparison<T>)

Category
Method
Description
Sorts the elements in the entire System.Collections.Generic.List`1 using the specified System.Comparison`1.
Type
void
Character
public
Parameters
NameTypeDescription
comparisonSystem.Comparison<T>
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Sort(Int32,Int32,IComparer<T>)

Category
Method
Description
Sorts the elements in a range of elements in System.Collections.Generic.List`1 using the specified comparer.
Type
void
Character
public
Parameters
NameTypeDescription
indexInt32
countInt32
comparerSystem.Collections.Generic.IComparer<T>
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database