merges quick+heap to introsort