diff --git a/selfprivacy_api/graphql/queries/services.py b/selfprivacy_api/graphql/queries/services.py index 2f95544..2012303 100644 --- a/selfprivacy_api/graphql/queries/services.py +++ b/selfprivacy_api/graphql/queries/services.py @@ -16,5 +16,5 @@ from selfprivacy_api.services import ServiceManager class Services: @strawberry.field def all_services(self) -> typing.List[Service]: - services = ServiceManager.get_all_services() - return [service_to_graphql_service(service) for service in services] + services = [service_to_graphql_service(service) for service in ServiceManager.get_all_services()] + return sorted(services, key=lambda service: service.display_name)