def filter_paths(paths):
    """
    Removes paths with repetitions, useful for e.g. 
    handling ascending order conversion.
    """
    paths_without_repetitions = []
    for path in paths:
        if len(set(path)) == len(path):
            paths_without_repetitions.append(path)

    return paths_without_repetitions