You are here: Symbol Reference > dtSearch.Engine Namespace > Classes > WordListBuilder Class > WordListBuilder Methods > Sort Method
Close
dtSearch .NET Standard API 2024.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-2023 dtSearch Corp. All rights reserved.