diff --git a/components/search.py b/components/search.py index 9f33952..9df4adc 100644 --- a/components/search.py +++ b/components/search.py @@ -324,13 +324,13 @@ async def search( if not amount: return sorted( search_entries, - key=lambda entry: self._sort_key(entry, search_query), # type: ignore + key=lambda entry: self._sort_key(entry, search_query), reverse=True, ) return heapq.nlargest( amount, search_entries, - key=lambda entry: self._sort_key(entry, search_query), # type: ignore[arg-type] + key=lambda entry: self._sort_key(entry, search_query), ) @alru_cache(maxsize=64) # type: ignore[misc]