private boolean needsPDXDeserializationWrapper(boolean isQueryOnPR) {
    return !isRemoteQuery() && !cache.getPdxReadSerialized();
  }
For Order by queries ,since they are already ordered by the comparator && it takes care of
conversion, we do not have to wrap it in a wrapper
geode-core/src/main/java/org/apache/geode/cache/query/internal/DefaultQuery.java