Close
dtSearch Engine API for Java
SearchResults.setSortKey Method
Syntax
Java
public native void setSortKey(String val);

Set the sort key for the currently-selected document. After calling setSortKey() for each document, call sort(Constants.dtsSortBySortKey) to sort search results by the specified keys.