make heap sort a bit more readable

... (by my definition of readability)