diff --git a/src/Platform/BestResults.cc b/src/Platform/BestResults.cc index 87ad3b3..c902c15 100644 --- a/src/Platform/BestResults.cc +++ b/src/Platform/BestResults.cc @@ -227,7 +227,7 @@ namespace platform { } // sort the ranksOrder vector by value sort(ranksOrder.begin(), ranksOrder.end(), [](const pair& a, const pair& b) { - return a.second < b.second; + return a.second > b.second; }); // Assign the ranks for (int i = 0; i < ranksOrder.size(); i++) {