const merge = function (compare, list, other) {
        if (other.length === 0) {
            return;
        }