diff --git a/web/src/components/CreateTagDialog.tsx b/web/src/components/CreateTagDialog.tsx index 27c0a9f0..8d45d09e 100644 --- a/web/src/components/CreateTagDialog.tsx +++ b/web/src/components/CreateTagDialog.tsx @@ -103,15 +103,17 @@ const CreateTagDialog: React.FC = (props: Props) => { <>

All tags

- {tagNameList.map((tag) => ( - handleDeleteTag(tag)} - > - #{tag} - - ))} + {Array.from(tagNameList) + .sort() + .map((tag) => ( + handleDeleteTag(tag)} + > + #{tag} + + ))}
)}