How to use sorting option in JSON API?

(from github.com/riceming)
I want to sort document by their date with JSON API, but I can’t find it in documentation.

Can anyone tell me how to do that? or is it implemented yet?

(from github.com/marevol)
Try sort parameter as below:

https://search.n2sm.co.jp/json/search?q=test&num=10&sort=last_modified.desc

(from github.com/riceming)
great, thanks
And please also add this to the document
https://fess.codelibs.org/12.2/api/api-search.html