Insertion sort | Yes | Yes | Yes | Θ(n2) | Θ(n2) |
Merge sort | Yes | No | Yes | Θ(nlgn) | Θ(nlgn) |
Heap sort | Yes | Yes | No | O(nlgn) | - |
Quick sort | Yes | Yes | No | Θ(n2) | Θ(nlgn) (expected) |
Counting sort | No | No | Yes | Θ(n+k) | Θ(n+k) |
Radix sort | No | No | Yes | Θ(d(n+k)) | Θ(d(n+k)) |
Bucket sort | No | No | Yes | Θ(n2) | Θ(n) (average case) |