Skip to content

Commit 9ab71e9

Browse files
committed
sort updates according to their goal title
1 parent 8967fcb commit 9ab71e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/rust-project-goals-cli-llm/src/updates.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ async fn prepare_goals(
141141

142142
progress_bar::inc_progress_bar();
143143
}
144+
145+
// Updates are in a random order, sort them.
146+
result.sort_by_cached_key(|update| update.title.to_lowercase());
147+
144148
Ok(result)
145149
}
146150

0 commit comments

Comments
 (0)