BitonicMergeSort<T>.Sort method (1 of 2)

Performs an in-place sort of the collection.

public void Sort(IList<T> collection)
parameter description
collection IList to sort

Exceptions

exception condition
ArgumentException Thron if collection.Count is not a Power of 2

See Also


BitonicMergeSort<T>.Sort method (2 of 2)

Performs an in-place sort of the collection.

public void Sort(IList<T> collection, Direction direction)
parameter description
collection IList to sort
direction Determines whether sort is Ascending or Descending

Exceptions

exception condition
ArgumentException Thron if collection.Count is not a Power of 2

See Also