def split_addr(ip_port: tuple[str, int]) -> tuple[int, ...]:
    """Split ip address and port for sorting later.

    Example
    --------
    >>> split_addr(('172.217.163.78', 80))
    >>> (172, 217, 163, 78, 80)
    """

    split = [int(i) for i in ip_port[0].split(".")]
    split.append(ip_port[1])

    return tuple(split)