Skip to content

Commit cf19fdf

Browse files
authored
[Docs Site] Sort Glossary table by term (#17483)
1 parent 599c378 commit cf19fdf

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)