From the previous algorithms, qsort is the slowest at the worst cases and others are always $O(n logn)$. However, qsort is known to be fastest at the most of cases.
| Algorithm | Average speed | Worst speed | Extra memory usage |
|---|---|---|---|
| Qsort | Fastest($O(n log n)$) | Slowest($O(n^2)$) | None($O(c)$) |
| Merge sort | Normal($O(n log n)$) | Normal($O(n log n)$) | Auxlist($O(n)$) |
| Heap sort | Normal($O(n log n)$) | Normal($O(n log n)$) | None($O(c)$) |
1 | |
One minor result is that worst-case of qsort is awefull enough to make interests. (Worst-cases for qsort was a list with elements with the same value)