diff --git a/app/shared_config_manager/templates/source.html.mako b/app/shared_config_manager/templates/source.html.mako
index 2a6f9296..95a3695b 100644
--- a/app/shared_config_manager/templates/source.html.mako
+++ b/app/shared_config_manager/templates/source.html.mako
@@ -100,7 +100,8 @@
${key_format(key) | h}: ${', '.join(value) | h}
%elif isinstance(value, dict):
${key_format(key) | h}:
- %for k, v in value.items():
+ %for k in sorted(value.keys()):
+ v = value[k]
${k | h} = ${v | h}
%endfor
%else: