diff --git a/app/grad_2025/service.py b/app/grad_2025/service.py index 9de1169..2f8e122 100644 --- a/app/grad_2025/service.py +++ b/app/grad_2025/service.py @@ -17,6 +17,7 @@ class Grad2025Service: async def get_univ_majors(self) -> list[Grad2025Read]: univ_majors = await self.grad_2025_repository.list_univ_majors() + univ_majors.sort(key=lambda univ_major: univ_major.name) return [Grad2025Read.from_grad_2025(univ_major) for univ_major in univ_majors] async def search_posts(