Sorting fix

This commit is contained in:
Elio Struyf
2022-07-27 12:08:39 +02:00
parent 89aab6c74e
commit 9a9ec33f9f
@@ -38,6 +38,9 @@ export const TaxonomyManager: React.FunctionComponent<ITaxonomyManagerProps> = (
// Alphabetically sort the items
crntItems = Object.assign([], crntItems).sort((a: string, b: string) => {
a = a || "";
b = b || "";
if (a.toLowerCase() < b.toLowerCase()) {
return -1;
}