if (s.getFromStudent().equals(toStudent)
&& s.getToStudent().equals(toStudent)) {
submissionResultsList.add(
0,
new SubmissionResultsForStudent(courseID,
evaluationName, fromStudentName, toStudentName,
s.getFromStudent(), s.getToStudent(),
fromStudentComments, toStudentComments, s
.getTeamName(), s.getPoints(),
pointsBumpRatio, s.getJustification(), s
.getCommentsToStudent()));
}
else {
submissionResultsList.add(new SubmissionResultsForStudent(
courseID, evaluationName, fromStudentName,
toStudentName, s.getFromStudent(), s.getToStudent(),
fromStudentComments, toStudentComments,
s.getTeamName(), s.getPoints(), pointsBumpRatio, s
.getJustification(), s.getCommentsToStudent()));
}
}
// Sort by Comments alphabetically
SubmissionResultsForStudent selfEvaluation = submissionResultsList
.remove(0);
Collections.sort(submissionResultsList,
new Comparator<SubmissionResultsForStudent>() {
public int compare(SubmissionResultsForStudent r1,