diff --git a/cli/src/commands/search.rs b/cli/src/commands/search.rs index d330576..a6af255 100644 --- a/cli/src/commands/search.rs +++ b/cli/src/commands/search.rs @@ -14,7 +14,7 @@ pub async fn run(http: &Client, query: String) -> Result<()> { } } - matches.sort_by_key(|m| m.1); + matches.sort_by(|a, b| b.1.cmp(&a.1)); let mut table = util::list_table();