question: public QueryBuilder < T , ID > orderBy ( String columnName , boolean ascending ) { FieldType fieldType = verifyColumnName ( columnName ) ; if ( fieldType . isForeignCollection ( ) ) { throw new IllegalArgumentException ( "Can't orderBy foreign colletion field: " + columnName ) ; } if ( orderByList == null ) { orderByList = new ArrayList < OrderBy > ( ) ; } orderByList . add ( new OrderBy ( columnName , ascending ) ) ; return this ; }
target:  Add "ORDER BY" clause to the SQL query statement. This can be called multiple times to add additional "ORDER BY" clauses. Ones earlier are applied first.