} else if (sortMethod.equals("fromDESC")) {
Collections.sort(routeInfos, new RouteInfoFromDescComparator());
} else if (sortMethod.equals("toASC")) {
Collections.sort(routeInfos, new RouteInfoToAscComparator());
} else if (sortMethod.equals("toDESC")) {
Collections.sort(routeInfos, new RouteInfoToDescComparator());
}
}
// mark trips which are booked
if (getLoggedInUser() != null) {