def ordered_set(iter):
    """Creates an ordered set

    @param iter: list or tuple
    @return: list with unique values

    """
    final = []
    for i in iter:
        if i not in final:
            final.append(i)

    return final