diff --git a/fontc_crater/src/ci/html.rs b/fontc_crater/src/ci/html.rs
index 35fd3e1f..f087b45e 100644
--- a/fontc_crater/src/ci/html.rs
+++ b/fontc_crater/src/ci/html.rs
@@ -367,7 +367,7 @@ fn make_summary_report(current: &DiffResults) -> Markup {
})
.into_iter()
.collect::>();
- results.sort_by_key(|(_, count)| -*count);
+ results.sort_by_key(|(item, count)| (-*count, *item));
if results.is_empty() {
return html!();