Hi,
Sorry for not getting back to you earlier. The thing is that the
SearchSort is not added as a standard SQL query ORDER BY, it's processed by
SearchHelper.GetSort() method and passed within the
SearchParameters structure. The GetSort evaluates the input using the following RegExp:
"(?<type>\\(.*?\\))*\\s*(?<name>[^\\s]*)\\s*(?<order>.*)"
and the type, name and order are then processed to add the Lucene
SortField object to a collection of sort fields. The fields have to be indexed but not tokenized, so you may try to review your doctypes search settings.
I'm still elaborating to get more information here, as it's more complex and "fancy" stuff.
Thank you for your cooperation and patience.
Regards,
Zdenek