

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

Contains information about the criteria used for sorting findings.

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

 ** attributeName **   <a name="guardduty-Type-SortCriteria-attributeName"></a>
Represents the finding attribute, such as `accountId`, that sorts the findings.  
Type: String  
Required: No

 ** orderBy **   <a name="guardduty-Type-SortCriteria-orderBy"></a>
The order by which the sorted findings are to be displayed.  
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 AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/guardduty-2017-11-28/SortCriteria) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/SortCriteria) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/SortCriteria) 