def unique(sequence: list):
    """Returns all the unique items in the list while keeping order (which set() does not)

    Args:
        sequence (list): The list to filter

    Returns:
        list: List with only unique elements
    """
    
    seen = set()
    return [x for x in sequence if not (x in seen or seen.add(x))]