heap sort modified