Array.Sort

  • Thread starter Thread starter Stefan
  • Start date Start date
S

Stefan

What sorting-algorithm is Array.Sort based upon? Is it an effective way of
sorting an array?

Regards,
Stefan
 
It uses the QuickSort algorithm. It's one of the most efficient algorithms
for sorting a list.
 
Hello,

Stefan said:
What sorting-algorithm is Array.Sort based upon?
Quicksort.

Is it an effective way of sorting an array?

O(n ld n) operations when sorting n elements.
 
Back
Top