Update: Fixed bug sortBestResults (now in decreasing order as expected)