diff --git a/ci/date-check/src/main.rs b/ci/date-check/src/main.rs index c022a05a..21f04f1e 100644 --- a/ci/date-check/src/main.rs +++ b/ci/date-check/src/main.rs @@ -72,6 +72,7 @@ fn collect_dates_from_file(date_regexes: &[Regex], text: &str) -> Vec<(usize, Da .collect(); output.extend(results); } + output.sort_by(|a, b| a.0.cmp(&b.0)); output }