// get the results and order them after the time
List<Result> results = operations.returnResults(event, heatGender, requiredGender);
Collections.sort(results, new ResultComparator());
// get the age-groups
AgeGroup ageGroup = new AgeGroup();
List<String> ageGroups = ageGroup.getAgeGroups();
int classification = 1;
long previousResultTime = 999999;
int loopNr = 1;