heapify method

dynamic heapify()

Implementation

heapify() {
  return _heapify(this.nodes, this.cmp);
}