def secondary_sort(attr: str) -> tuple:
    """
    Determine the secondary sort attribute and order when the
    primary sort attribute has the same value.

    Args:
        attr (str): The primary sort attribute

    Returns:
        tuple: Secondary sort attribute and sort order
    """
    if attr in ['wins', 'losses', 'ties']:
        secondary_attr = 'win_pct'

    elif attr == 'win_pct':
        secondary_attr = 'wins'

    elif attr in ['coference_wins', 'conferences_losses', 'conference_ties']:
        secondary_attr = 'conference_win_pct'

    elif attr == 'conference_win_pct':
        secondary_attr = 'conference_wins'

    else:
        secondary_attr = attr

    return secondary_attr, True