docs: private SortAndSlice voltGetSortAndSliceForDelete(RangeVariable[] rangeVariables) {
          SortAndSlice sas = XreadOrderByExpression();
          if (sas == null || sas == SortAndSlice.noSort)
              return SortAndSlice.noSort;
  
          // Resolve columns in the ORDER BY clause.  This code modified
          // from how compileDelete resolves columns in its WHERE clause
          for (int i = 0; i < sas.exprList.size(); ++i) {
              Expression e = (Expression)sas.exprList.get(i);
              HsqlList unresolved =
                  e.resolveColumnReferences(RangeVariable.emptyArray, null);
  
              unresolved = Expression.resolveColumnSet(rangeVariables,
                      unresolved, null);
  
              ExpressionColumn.checkColumnsResolved(unresolved);
              e.resolveTypes(session, null);
          }
  
          return sas;
      }