query.addPrefetch("studentHouse");
// Add in-memory ordering
Ordering ordering = new Ordering("studentHouse.name", true);
List result = performQuery(query);
ordering.orderList(result);
return result;
}
public List getStudentHouses() {
SelectQuery query = new SelectQuery(StudentHouse.class);