You are here: COM Interface > Interfaces > ISearchResults Interface > ISearchResults::Sort Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
ISearchResults::Sort Method
Syntax
IDL
HRESULT Sort([in] long flags, [in] BSTR fieldName);
Parameters
Description
[in] long flags
SortFlagsDts value specyfing the type of sort to perform
[in] BSTR fieldName
If flags is dtsSortByField, the name of the field to sort by

Sort search results. See SortFlagsDts for sorting options.

Copyright (c) 1995-2022 dtSearch Corp. All rights reserved.