I have a database table that I want to filter and then sort in reversed (descending) order. How do I express that in a Speedment stream similar to this:
films.stream()
.filter(Film.LENGTH.greaterThan(120))
.sorted(... some expression ...)
.skip(100)
.limit(50)
.collect(Collectors.toList());
I want my SQL query to be optimized by Speedment and therefore I cannot use an anonymous lambda.