# 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

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm