# Sort

NOTE: This parameter description applies only to the GetQueryTagValues action.

The method to use to sort the list of tag values in the response. You can use one of the following options:

`Off` | Do not sort results.
`Alphabetical` | Order values in alphabetical order.
`Date` | Order values by date. The most recent date is listed first. For this option, the field that you specify in FieldName must contain date values.
`DocumentCount` | Order values by the number of documents that contain this value. The highest document count is listed first. To use this option, you must set DocumentCount to `true`.
`NumberDecreasing` | Order values in numerical order, listing the highest number first. Non-numeric data is sorted alphabetically and ordered after the numeric data.
`NumberIncreasing` | Order values in numerical order, listing the lowest number first. Non-numeric data is sorted alphabetically and ordered after the numeric data.
`ReverseAlphabetical` | Order values in reverse alphabetical order.
`ReverseDate` | Order values by date. The earliest date is listed first. For this option, the field that you specify in FieldName must contain date values.
`ReverseDocumentCount` | Order values by the number of documents that contain this value. The lowest document count is listed first. To use this option, you must set DocumentCount to `true`.

Actions: | GetQueryTagValues
Type: | String
Default: | Off
Example: | `Sort=Alphabetical`
See Also: | DocumentCount FieldName QuerySort

_FT_HTML5_bannerTitle.htm