Specify one or more of the following options (use array to specify multiple).
isysSortDefault
1
isysSortNumHits
2
isysSortDocSize
3
isysSortFilePath
4
isysSortFileType
5
isysSortFileName
6
isysSortDateTime
7
isysSortRelevance
8
isysSortDocDate
9
isysSortBytes
10
isysSortIndexed
11
isysSortTitle
12
isysSortUnphrasedHits
13
isysSortFormat
14
isysSortCategory
64
Examples
[VBScript]
<%
' Execute a pre-configured searchset Results = ISYSSearch.Execute
' Resort the result list
Results.Sort isysSortRelevance
' Alternatively, sort by relevance then date
Results.Sort Array(isysSortRelevance, isysSortDateTime)
%>
Remarks
Note: It is more efficient to specify the Sort order using the ISYSSearch.Sort then using this Sort method.
You can change the direction of the sorting passing in a negative value, for example, to sort by smallest file first, pass in -SortBytes.