constructor(compareFn) {
    super(compareFn);
    this._comparator.reverse();
  }
Max Heap, keeps the highest element always on top

To avoid code repetition, the Min Heap is used just with
a reverse comparator;