_swap(i, j) {
        const temp = this._heap[i];
        this._heap[i] = this._heap[j];
        this._heap[j] = temp;
    }
Swap the elements at indices `i` and `j`.
@param {number} i The index of the first element to swap.
@param {number} j The index of the second element to swap.
@private