mirror of
https://github.com/Noratrieb/does-it-build.git
synced 2026-01-14 18:35:01 +01:00
reverse sort
This commit is contained in:
parent
cc6033dd80
commit
bb65114e74
1 changed files with 1 additions and 2 deletions
|
|
@ -27,8 +27,7 @@ impl Nightlies {
|
||||||
.filter(|date| date.as_str() > EARLIEST_CUTOFF_DATE)
|
.filter(|date| date.as_str() > EARLIEST_CUTOFF_DATE)
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
all.sort();
|
all.sort_by(|a, b| b.cmp(a)); // Reverse sort.
|
||||||
all.reverse();
|
|
||||||
|
|
||||||
debug!(
|
debug!(
|
||||||
"Loaded {} nightlies from the manifest and manual additions",
|
"Loaded {} nightlies from the manifest and manual additions",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue