def get_base_and_side_len(side_a: float, side_b: float, side_c: float) -> tuple:
    """
    This function finds side and base length of a triagle

    >>> get_base_and_side_len(2, 2, 3)
    (3, 2)
    """

    sides = {}

    for side in [side_a, side_b, side_c]:
        if side in sides:
            sides[side] += 1
        else:
            sides[side] = 1

    base, side = [
        key_val[0]
        for key_val in sorted(
            sides.items(), key=lambda key_val: key_val[1]
        )
    ]

    return base, side