Merge sort
Merge sort sorts each half recursively and merges the two sorted halves in linear time; halving gives about $\log_2 n$ levels with $n$ work on each, $O(n \log n)$ in every case, at the price of $O(n)$ extra memory.
Merge sort sorts each half recursively and merges the two sorted halves in linear time; halving gives about $\log_2 n$ levels with $n$ work on each, $O(n \log n)$ in every case, at the price of $O(n)$ extra memory.