# Sort

The method to use to sort the answers that Answer Server retrieves. You can use one of the following options:

- System (default). Sort the results by system. Answer Server uses the order that you specify the systems in the SystemNames parameter. If SystemNames is not set, Answer Server uses the order that you define the systems in the configuration file. If Answer Server retrieves enough answers from the first system to get to the specified MaxResults, it does not continue querying the other systems.

- Confidence. Sort the results in order of the confidence score. Answers that have a higher confidence match for the request question return with a higher confidence score. In this case, Answer Server must query every system to get the MaxResults number of results with the highest score.

  NOTE: Each answer system in Answer Server scores its answers independently, so scores from one system might not be comparable to scores from another.

You can set the default value for the action parameter by setting the Sort configuration parameter.

Actions: | Ask
Type: | String
Default: | system
Example: | `Sort=confidence`
See Also: | MaxResults Sort configuration parameter

_FT_HTML5_bannerTitle.htm