diff --git a/src/main/java/ch/ethz/seb/sebserver/gbl/model/exam/QuizData.java b/src/main/java/ch/ethz/seb/sebserver/gbl/model/exam/QuizData.java index a456c7d3..c171ba5f 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gbl/model/exam/QuizData.java +++ b/src/main/java/ch/ethz/seb/sebserver/gbl/model/exam/QuizData.java @@ -253,9 +253,7 @@ public final class QuizData implements GrantEntity { } public static Comparator getComparator(final String sort) { - final boolean descending = PageSortOrder.getSortOrder(sort) == PageSortOrder.DESCENDING; - System.out.println("**************** sort: " + sort + " descending " + descending); final String sortParam = PageSortOrder.decode(sort); if (QUIZ_ATTR_NAME.equals(sortParam)) { return (qd1, qd2) -> StringUtils.compare(qd1.name, qd2.name) * ((descending) ? -1 : 1);