HINT: you might want to put a dummy value into the vector to occupy the zero-eth space, which the tree implementation does not use.
WARNING: heapSort will often work correctly even if reheapify is not correct. Make sure you check your remove method carefully. You might want to try some additional tests.