_siftUpFrom(node) {
        while (node > 0 && this._greater(node, this._parent(node))) {
            this._swap(node, this._parent(node));
            node = this._parent(node);
        }
    }
Helper function to sift up from a given node.
@param {number} node The index of the node to start sifting up from.