add a simplier heap sort algorithm