diff --git a/Scripts/report_template.jinja b/Scripts/report_template.jinja index 497f838..b8042c1 100644 --- a/Scripts/report_template.jinja +++ b/Scripts/report_template.jinja @@ -306,11 +306,12 @@ within the list of errors#} MapUnit {% if val["fds_units"] %} + {% set sorted_units = val["all_units"]|sort %} {% for k in val["fds_units"] %} {{k}} {% endfor %} - {% for mu in val["all_units"] %} + {% for mu in sorted_units %} {{mu}} {% for v in val["fds_units"].values() %} @@ -325,6 +326,7 @@ within the list of errors#} {% endif %} + {% endif %} {% if val["non_spatial"] %}
@@ -345,4 +347,4 @@ within the list of errors#} {% for n in val["inventory"] %} {{ n }}
{% endfor %} - \ No newline at end of file +