Added a method to get best n scores per category.