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

Sort the word list by document count or term

Syntax
IDL
HRESULT Sort([in] long flags, [out, retval] VARIANT_BOOL * pVal);

The following SortFlags are supported: dtsSortByWord, and dtsSortByDocCount. Use dtsSortAscending to specify ascending order. Otherwise the sort will be in descending order. Sort() only works with ListFieldValues and ListMatchingWords.

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