default Seq<Window<T>> window(Comparator<? super T> orderBy) {
        return window(Window.of(orderBy)).map(t -> t.v1);
    }
Map this stream to a windowed stream using the default partition and a specific order.
<p>
<pre><code>
// (0, 1, 4, 2, 3)
Seq.of(1, 2, 4, 2, 3).window(naturalOrder()).map(Window::rowNumber)
</code></pre>
jOOL/src/main/java/org/jooq/lambda/Seq.java