At school we are currently learning sorting algorithms in Java and I got for my homework the Heap Sort. I did my reading, I tried to find out as much as I could, but it seems I
Maybe interactive tracing will help you understand the algorithm better. Here is a demo.