@Override
public Query<T> orderBy( Property<?> property, OrderBy.Order order )
{
if( orderBySegments == null )
{
orderBySegments = Iterables.iterable( new OrderBy( QueryExpressions.property( property ), order ) );
}
else
{
orderBySegments = Iterables.append( new OrderBy( QueryExpressions.property( property ), order ), orderBySegments );
}
return this;
}