DotLucene 1.4 API Documentation |

# Sort.SetSort Method

Sets the sort to the given criteria.

#### Overload List

Sets the sort to the given criteria.

> public virtual void SetSort(SortField);

Sets the sort to the given criteria in succession.

> public virtual void SetSort(SortField[]);

Sets the sort to the terms in `Field` then by index order (document number).

> public void SetSort(string);

Sets the sort to the terms in `Field` possibly in reverse, then by index order (document number).

> public virtual void SetSort(string,bool);

Sets the sort to the terms in each Field in succession.

> public virtual void SetSort(string[]);

#### See Also

Sort Class | Lucene.Net.Search Namespace