how to sort the array bu heapsort

lady and genlement!
please help me to solve the small problems:
how to sort the the array by heap sort
with the strucktrue:
that be sorted in the array just in array
so easily if it just has two son
but it has 4 son you know???
the A[i] has 4 son is A[i+1]->A[i+4]
and father is bigger than son;
and A[i+1]>...>A[i+4]
if you have any idea please give me that soon; i'm so never be cause i'm on the top of the rise ,that just the exsercise.just give me the idea that is too good?or you have any the way to sort that is faster etc...
Google is bad...don't use it translate please...
Topic archived. No new replies allowed.