def default_stream_groups_to_dicts_sorted(groups: List[DefaultStreamGroup]) -> List[Dict[(str, Any)]]:
    return sorted([group.to_dict() for group in groups], key=(lambda elt: elt['name']))
def default_stream_groups_to_dicts_sorted(groups: List[DefaultStreamGroup]) -> List[Dict[(str, Any)]]:
    return sorted([group.to_dict() for group in groups], key=(lambda elt: elt['name']))