diff --git a/src/components/Discover/DiscoverBrowser.tsx b/src/components/Discover/DiscoverBrowser.tsx index 4d02244..1da2553 100644 --- a/src/components/Discover/DiscoverBrowser.tsx +++ b/src/components/Discover/DiscoverBrowser.tsx @@ -67,6 +67,8 @@ export default function DiscoverBrowser() { .order("current_patch", { ascending: false, nullsFirst: false }); } else if (sort === "updated") { query = query.order("updated_at", { ascending: false }); + } else if (sort === "alphabetical") { + query = query.order("title", { ascending: true }); } else { query = query.order("approved_at", { ascending: false }); } @@ -305,6 +307,7 @@ export default function DiscoverBrowser() { +