Streaming response

Well, better than nothing yet proper streaming seems to be a better match for these kind of tasks. Hope this will work fast enough, although I am highly suspicious about it: sorting means prior fetching, i.e. the database get the full response first, then sort it, than return Nth, (N+1)th, …, Mth elements. Each time for each page and the number of collected elements can be quite large at that.