aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'nuldoc-src/pages')
-rw-r--r--nuldoc-src/pages/tag_list.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuldoc-src/pages/tag_list.ts b/nuldoc-src/pages/tag_list.ts
index bb481f8..2b58ff3 100644
--- a/nuldoc-src/pages/tag_list.ts
+++ b/nuldoc-src/pages/tag_list.ts
@@ -33,8 +33,8 @@ export async function generateTagListPage(
...Array.from(tags).sort((a, b) => {
const ta = a.tagSlug;
const tb = b.tagSlug;
- if (ta > tb) return -1;
- if (ta < tb) return 1;
+ if (ta < tb) return -1;
+ if (ta > tb) return 1;
return 0;
}).map((tag) =>
el(