

# SelectableValuesSort
<a name="API_SelectableValuesSort"></a>

The sort configuration for selectable values in a control.

## Contents
<a name="API_SelectableValuesSort_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

 ** Direction **   <a name="QS-Type-SelectableValuesSort-Direction"></a>
The sort direction for the selectable values. Choose one of the following options:  
+  `ASC`: Sort in ascending order.
+  `DESC`: Sort in descending order.
+  `USER_DEFINED_ORDER`: Preserve the order in which the values were entered.
Type: String  
Valid Values: `ASC | DESC | USER_DEFINED_ORDER`   
Required: Yes

## See Also
<a name="API_SelectableValuesSort_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/quicksight-2018-04-01/SelectableValuesSort) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/quicksight-2018-04-01/SelectableValuesSort) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/quicksight-2018-04-01/SelectableValuesSort) 