} else if (StringUtils.equalsIgnoreCase("created-asc", sort)) {
q.sortByCreationDate(Order.Ascending);
} else if (StringUtils.equalsIgnoreCase("created-desc", sort)) {
q.sortByCreationDate(Order.Descending);
} else if (StringUtils.equalsIgnoreCase("published-asc", sort)) {
q.sortByPublishingDate(Order.Ascending);
} else if (StringUtils.equalsIgnoreCase("published-desc", sort)) {
q.sortByPublishingDate(Order.Descending);
}
// Load the result