You are here: Symbol Reference
> dtSearch.Engine Namespace
> WordListBuilder Class
> WordListBuilder Methods
> Sort Method
Close
dtSearch .NET Standard API 2021.02
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.

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