Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
Insertion Class
Insertion Methods
Sort Method
Sort Method (IComparable[])
Sort Method (Object[], Comparer)
Sort Method (IComparable[], Int32, Int32)
Sort(T) Method (T[], Int32, Int32, Comparer(T))
Insertion
Sort Method (
Object
, Comparer)
Rearranges the array in ascending order, using a comparator.
Namespace:
Algs4Net
Assembly:
Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
static
void
Sort
(
Object
[]
a
,
Comparer
comparator
)
Parameters
a
Type:
System
Object
a the array
comparator
Type:
System.Collections
Comparer
comparator the comparator specifying the order
See Also
Reference
Insertion Class
Sort Overload
Algs4Net Namespace