reverse sort

This commit is contained in:
Pietro Albini 2025-07-04 10:20:45 +02:00
parent cc6033dd80
commit bb65114e74
No known key found for this signature in database
GPG key ID: 3E06ABE80BAAF19C

View file

@ -27,8 +27,7 @@ impl Nightlies {
.filter(|date| date.as_str() > EARLIEST_CUTOFF_DATE)
.collect::<Vec<_>>();
all.sort();
all.reverse();
all.sort_by(|a, b| b.cmp(a)); // Reverse sort.
debug!(
"Loaded {} nightlies from the manifest and manual additions",