Compiler optimization options
Heap sort implementation