Sort Order of view control with a search query

How do I set the sort order of a XPages view control that is filtered with a search query?

I have a view and set the “search” to my query, that works, but my search result is not sorted the same as my view. I see 2 other settings “sortColumn” and “sortOrder” just below the “search” but I can’t seem to figure out how to use them.

Ideas? What am I missing?

Subject: Same issue here

Were you able to find an answer for this one?