Skip to content

Commit 1188d83

Browse files
committed
[Docs Site] Sort Glossary table by term
1 parent 599c378 commit 1188d83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Glossary.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const { product } = Astro.props;
1111
1212
let terms = await getGlossaryEntries(product);
1313
14+
terms = terms.sort((a, b) => a.term.localeCompare(b.term));
15+
1416
const INITIAL_VISIBLE_ROWS = 20;
1517
---
1618

0 commit comments

Comments
 (0)