_compareFn(a: T, b: T): boolean
insert(item: T): void
Insert an item into the binary heapRemove the smallest item from the binary heap in case of a min heap
or the greatest item from the binary heap in case of a max heapRemove all itemsmoveUp(pos: number): void
moveDown(pos: number): void
swap(index1: number, index2: number): void
Returns the amount of items