* @return ordered categories
*/
public Categories getCategoriesOrderedByName() {
Categories orderByName = null;
try {
CaseInsensitiveStringComparator cisc = new CaseInsensitiveStringComparator();
PropertyComparator<Category> titleComparator = new PropertyComparator<Category>("name",
cisc);
OrderCriteria<Category> criteria = OrderCriteria.defineOrder(titleComparator);
orderByName = (Categories) getEntities(criteria);
} catch (OrderException e) {