Close
dtSearch Engine API for .NET Framework 2.x-4.x 2024.01
WordListBuilder::Sort Method

Sort the word list by document count or term

public bool Sort( SortFlags flags );

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.