Fixed sortByRating