

# SegmentSort
<a name="API_connect-customer-profiles_SegmentSort"></a>

Defines how segments should be sorted and ordered in the results.

## Contents
<a name="API_connect-customer-profiles_SegmentSort_Contents"></a>

 ** Attributes **   <a name="connect-Type-connect-customer-profiles_SegmentSort-Attributes"></a>
A list of attributes used to sort the segments and their ordering preferences.  
Type: Array of [SortAttribute](API_connect-customer-profiles_SortAttribute.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 10 items.  
Required: Yes

## See Also
<a name="API_connect-customer-profiles_SegmentSort_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/customer-profiles-2020-08-15/SegmentSort) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/customer-profiles-2020-08-15/SegmentSort) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/customer-profiles-2020-08-15/SegmentSort) 