@NonNull
    public static SortOrder expression(@NonNull Expression expression) {
        if (expression == null) {
            throw new IllegalArgumentException("expression cannot be null.");
        }
        return new SortOrder(expression);
    }
@ NonNull public static SortOrder expression ( @ NonNull Expression expression ) { if ( expression == null ) { throw new IllegalArgumentException ( "expression cannot be null." ) ; } return new SortOrder ( expression ) ; }
Create a SortOrder, inherited from the OrderBy class, object by the given expression.

@param expression the expression object.
@return the SortOrder object.