def technologies_set(projects, sorted=True):
    """return a list of unique technologies for all given projects
    :param projects: list of projects as dictionaries
    :type projects: list
    :param sorted: whether or not to return a sorted list
    :type sorted: bool

    :return: list
    """
    tech_set = set()
    for project in projects:
        tech_set.update(project['technologies'])
    tech_set = list(tech_set)
    if sorted:
        tech_set.sort()
    return tech_set