From 370f70fb24ee76834fd1af748819848b93088c53 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 22 Jan 2024 09:49:52 +0200 Subject: [PATCH] fix: reverse order of runs Signed-off-by: Lars Wirzenius --- src/report.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/report.rs b/src/report.rs index f92dfbe..506dc41 100644 --- a/src/report.rs +++ b/src/report.rs @@ -73,6 +73,7 @@ fn list_runs(repos: &[&str], run_infos: &[RunInfo]) -> Document { let mut list = Element::new(Tag::Ol).with_class("runlist"); let mut runs = runs_for_repo(repo, run_infos); runs.sort_by(|a, b| b.timestamp.cmp(&a.timestamp)); + runs.reverse(); for ri in runs_for_repo(repo, run_infos) { let commit = Element::new(Tag::Code) .with_class("commit")