def remove_duplicates_with_order(lst):
    """ Remove all duplicates of a list while not reordering the list.
    """
    if isinstance(lst, list):
        lst = list(n for i, n in enumerate(lst) if n not in lst[:i])
    if isinstance(lst, tuple):
        lst = tuple(n for i, n in enumerate(lst) if n not in lst[:i])

    return lst