public Interests getInterestsOrderedByUser(boolean ascending) {
Interests orderByUser = null;
try {
CompositeComparator compositePropertyComparator = new CompositeComparator(
new PropertyComparator("lastName"), new PropertyComparator(
"firstName"));
NeighborComparator neighborComparator = new NeighborComparator(
"user", compositePropertyComparator);
OrderCriteria criteria = OrderCriteria.defineOrder(
neighborComparator, ascending);