

# SortCriteria
<a name="API_SortCriteria"></a>

The criteria used to sort.

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

 ** attributeName **   <a name="accessanalyzer-Type-SortCriteria-attributeName"></a>
The name of the attribute to sort on.  
Type: String  
Required: No

 ** orderBy **   <a name="accessanalyzer-Type-SortCriteria-orderBy"></a>
The sort order, ascending or descending.  
Type: String  
Valid Values: `ASC | DESC`   
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/accessanalyzer-2019-11-01/SortCriteria) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/accessanalyzer-2019-11-01/SortCriteria) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/accessanalyzer-2019-11-01/SortCriteria) 