Set the sort key for the currently-selected document.
C#
publicvoidSetSortKey(
intiItem,
stringnewKey
);
Remarks
SetSortKey provides a way to assign a string to each item in search results to use as a sort key. After each item has been assigned a sort key, call Sort(SortFlags.dtsSortBySortKey) to sort SearchResults by the assigned keys.