diff --git a/searxng_extra/update/update_osm_keys_tags.py b/searxng_extra/update/update_osm_keys_tags.py
index 1d691c194..72197498d 100755
--- a/searxng_extra/update/update_osm_keys_tags.py
+++ b/searxng_extra/update/update_osm_keys_tags.py
@@ -215,4 +215,4 @@ if __name__ == '__main__':
         'tags': optimize_tags(get_tags()),
     }
     with open(get_osm_tags_filename(), 'w', encoding="utf8") as f:
-        json.dump(result, f, indent=4, ensure_ascii=False)
+        json.dump(result, f, indent=4, ensure_ascii=False, sort_keys=True)