def sort_and_dedup(input_list: list):
    """Sorts a list alphabetically and remove  duplicates. Return tuple"""
    seen = set()
    seen_add = seen.add
    input = sorted(input_list)  # sort
    uniques = [x for x in input if not (x in seen or seen_add(x))]
    output = tuple(uniques)

    return output