diff --git a/src/commands/aur.rs b/src/commands/aur.rs index 35a6f84..52e1d71 100644 --- a/src/commands/aur.rs +++ b/src/commands/aur.rs @@ -17,11 +17,10 @@ pub fn query_aur(ctx: Context, msg: Message, args: Vec<&str>) { return; } response.results.sort_by(|a, b| { - a.popularity - .partial_cmp(&b.popularity) + b.popularity + .partial_cmp(&a.popularity) .unwrap_or(std::cmp::Ordering::Less) }); - response.results.reverse(); respond_with_results(msg.channel_id, &response.results, &ctx); }