def METHOD_NAME(obj: Tuple[AimObjectKey, AimObject]):
    """Comparator for `(key, value)` pairs w.r.t. their hashes.
    This defines an (meaningless) order but ensures a deterministic one.
    """
    key, _ = obj
    return hash_auto(key)