def streams_to_dicts_sorted(streams: List[Stream]) -> List[Dict[(str, Any)]]:
    return sorted([stream.to_dict() for stream in streams], key=(lambda elt: elt['name']))
def streams_to_dicts_sorted(streams: List[Stream]) -> List[Dict[(str, Any)]]:
    return sorted([stream.to_dict() for stream in streams], key=(lambda elt: elt['name']))