def unique_field_contents(entries, field):
    """
    Iterates through a list of dictionaries, adds the field content to a unique content set and then returns the set
    as ordered list.
    """
    unique_content = set()
    for entry in entries:
        if field in entry:
            field_content = entry[field]
            if type(field_content) is list:
                unique_content.update(field_content)
            else:
                unique_content.add(field_content)
    unique_content = sorted(list(unique_content), key=str.casefold)
    return unique_content