diff --git a/cpp/match.hpp b/cpp/match.hpp index 202227e..2ca6d1c 100644 --- a/cpp/match.hpp +++ b/cpp/match.hpp @@ -9,6 +9,6 @@ struct Match { std::string content; }; -static bool sort_match(const Match& a, const Match& b) { return a.score > b.score; } +static bool sort_match(const Match& a, const Match& b) { return a.score < b.score; } } // namespace ivy