(PECL swish >= 0.1.0)
Set the sort order
void SwishSearch::setSort ( string $sort )
Parameters:
sort
Sort order of the results is a string containing name of a result property combined with sort direction ("asc" or "desc"). Examples: "swishrank desc", "swishdocpath asc", "swishtitle asc", "swishdocsize desc", "swishlastmodified desc" etc.
Returns: