fix(report): sort countries by risk

This commit is contained in:
Iain Learmonth 2023-10-29 21:27:45 +00:00
parent 3e8b3a38c8
commit ba1b597c73

View file

@ -139,5 +139,5 @@ def report_blocks() -> ResponseReturnValue:
return render_template("report_blocks.html.j2",
blocked_today=blocked_today,
origins=origins_with_deprecations,
countries=countries_report(),
countries=sorted(countries_report(), key=lambda c: c[0].risk_level),
)