Open topic with navigation

# 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

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm