Skip to content

Commit

Permalink
Fixed sort order in QueryResult
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaro committed Nov 18, 2023
1 parent 9a3b5a3 commit 4352a44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ data class QueryResult(val retrievables: List<QueryResultRetrievable>) {
}
}

return results.values.toList().sortedBy { it.score }
return results.values.toList().sortedByDescending { it.score }

}

Expand Down

0 comments on commit 4352a44

Please sign in to comment.