Brute force approach is to create two queries that will retrieve the contents of the list, sorted by asc and desc. I know this sucks, but at least you can go to the project and refine the request later.
If only top 1 could be obtained, then it could even work in the production process.
source
share