private void substituteExpression(CompiledValue newExpression, int columnIndex) {
    expr = newExpression;
    this.columnIndex = columnIndex;
  }
evaluates sort criteria in order by clause
geode-core/src/main/java/org/apache/geode/cache/query/internal/CompiledSortCriterion.java