

# 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\+\+](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) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Connect Customer. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query connect` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
