You are here: COM Interface > Interfaces > ISearchResults Interface > ISearchResults::Sort Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
ISearchResults::Sort Method

Sort search results.

Syntax
IDL
[id(11), helpstring("method Sort")] 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

See SortFlagsDts for sorting options.

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