We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 496b12b commit 75a18d8Copy full SHA for 75a18d8
1 file changed
src/app/page.tsx
@@ -19,7 +19,9 @@ export default async function HomePage() {
19
20
{categories.map((cat) => {
21
const meta = CATEGORY_META[cat as Category];
22
- const catProblems = problems.filter((p) => p.category === cat);
+ const catProblems = problems
23
+ .filter((p) => p.category === cat)
24
+ .sort((a, b) => a.difficulty - b.difficulty);
25
return (
26
<div key={cat} className="mb-10">
27
<h3
0 commit comments