static <T> Seq<T> reverse(Seq<? extends T> stream) {
        List<T> list = toList(stream);
        Collections.reverse(list);
        return seq(list).onClose(stream::close);
    }
Reverse a stream.
<p>
<pre><code>
// (3, 2, 1)
Seq.of(1, 2, 3).reverse()
</code></pre>
jOOL-java-8/src/main/java/org/jooq/lambda/Seq.java