public MultiVersionedKeyQuery<K, V> withDescendingTimestamps() {
        return new MultiVersionedKeyQuery<>(key, fromTime, toTime, ResultOrder.DESCENDING);
    }
Specifies the order of the returned records by the query as descending by timestamp.
streams/src/main/java/org/apache/kafka/streams/query/MultiVersionedKeyQuery.java