public boolean isAscending() {
        return order == Order.ASC;
    }
Get whether the order is ascending or not

@return ascending order
querydsl-core/src/main/java/com/querydsl/core/types/OrderSpecifier.java