fix inverted sorting

This commit is contained in:
LordMZTE 2020-12-05 22:31:02 +01:00
parent 9fb5d188a7
commit c001e6b9e6
1 changed files with 1 additions and 1 deletions

View File

@ -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();