if (
        orderButton !== null &&
        (target === sortMenu ||
            sortMenu.contains(target) ||
            target === orderButton ||