{
QueryBuilder<Person> qb = this.module.newQueryBuilder( Person.class );
// should return all Persons sorted by name of the city they were born, and then by year they were born
Person person = templateFor( Person.class );
Query<Person> query = unitOfWork.newQuery( qb );
query.orderBy( orderBy( person.placeOfBirth().get().name() ), orderBy( person.yearOfBirth() ) );
System.out.println( "*** script21: " + query );
verifyOrderedResults( query, "Ann Doe", "Joe Doe", "Jack Doe" );
}
@Test