Quicksort superiority over Heap Sort
One of the major factors is that quicksort has better locality of reference — the next thing to be accessed is usually close in memory to the thing you just looked at. By contrast, heapsort jumps around significantly more. Since things that are close together will likely be cached together, quicksort tends to be faster. … Read more