diff --git a/src/components/history-page/history-toolbar/tag-selection-input.tsx b/src/components/history-page/history-toolbar/tag-selection-input.tsx index 79253a101..2f69b5a6a 100644 --- a/src/components/history-page/history-toolbar/tag-selection-input.tsx +++ b/src/components/history-page/history-toolbar/tag-selection-input.tsx @@ -20,7 +20,10 @@ export const TagSelectionInput: React.FC = () => { const historyEntries = useApplicationState((state) => state.history) const tags = useMemo(() => { - const allTags = historyEntries.map((entry) => entry.tags).flat() + const allTags = historyEntries + .map((entry) => entry.tags) + .flat() + .sort((first, second) => first.toLowerCase().localeCompare(second.toLowerCase())) return Array.from(new Set(allTags)) }, [historyEntries])