fix inverted sorting
This commit is contained in:
parent
9fb5d188a7
commit
c001e6b9e6
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue