diff --git a/src/app/(app)/problemset/page.tsx b/src/app/(app)/problemset/page.tsx index 93d8de9..3121eaa 100644 --- a/src/app/(app)/problemset/page.tsx +++ b/src/app/(app)/problemset/page.tsx @@ -26,6 +26,9 @@ const getDifficultyColor = (difficulty: Difficulty) => { export default async function ProblemsetPage() { const problems = await prisma.problem.findMany({ where: { published: true }, + orderBy: { + id: "asc", + }, }); return ( @@ -60,9 +63,7 @@ export default async function ProblemsetPage() { {problem.title} - + {problem.difficulty}