diff --git a/components/Sidebar/index.tsx b/components/Sidebar/index.tsx index b392a95..a335eaa 100644 --- a/components/Sidebar/index.tsx +++ b/components/Sidebar/index.tsx @@ -130,16 +130,18 @@ export default function ({ className }: { className?: string }) {

Tags

- {tags.map((e, i) => { - return ( - } - path={`/tags/${e.id}`} - /> - ); - })} + {tags + .sort((a, b) => a.name.localeCompare(b.name)) + .map((e, i) => { + return ( + } + path={`/tags/${e.id}`} + /> + ); + })}
);