diff --git a/compendium-frontend/src/components/graphing/Filter.tsx b/compendium-frontend/src/components/graphing/Filter.tsx
index 2405e45be7c344942bc1794bddf5059b74df05e3..b34f08a5fed013c6ded335a8c51df5df86612d64 100644
--- a/compendium-frontend/src/components/graphing/Filter.tsx
+++ b/compendium-frontend/src/components/graphing/Filter.tsx
@@ -78,7 +78,9 @@ function Filter({ filterOptions, filterSelection, setFilterSelection, max1year =
     const nrOfColumns = isThirdColumnVisible ? 3 : 2;
     const nrOfRows = Math.ceil(filterOptions.availableNrens.length / nrOfColumns);
     const grid: Nren[][] = Array.from(Array(nrOfColumns), () => []);
-    filterOptions.availableNrens.sort().forEach((nren, idx) => {
+    filterOptions.availableNrens.sort((a,b) => {
+        return a.name.localeCompare(b.name);
+    }).forEach((nren, idx) => {
         const col = Math.floor(idx / nrOfRows);
         grid[col].push(nren);
     });