diff --git a/packages/matomo/i18next-scanner.config.js b/packages/matomo/i18next-scanner.config.js
index f0f86ce027f31d591de02dee8cd05089203735b5..d15acb029ba662a7bdb0d29dc46eb81dfe3c1f61 100644
--- a/packages/matomo/i18next-scanner.config.js
+++ b/packages/matomo/i18next-scanner.config.js
@@ -3,12 +3,14 @@ module.exports = {
     output: './',
     options: {
         debug: false,
+        sort: true,
         removeUnusedKeys: true,
         func: {list: ['i18n.t', '_i18n.t']},
         lngs: ['en', 'de'],
         resource: {
             loadPath: 'src/i18n/{{lng}}/{{ns}}.json',
             savePath: 'src/i18n/{{lng}}/{{ns}}.json',
+            jsonIndent: 4,
         },
     },
 };