

# SortCriterion
<a name="API_SortCriterion"></a>

A collection of finding attributes used to sort findings.

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

 ** Field **   <a name="securityhub-Type-SortCriterion-Field"></a>
The finding attribute used to sort findings.  
Type: String  
Pattern: `.*\S.*`   
Required: No

 ** SortOrder **   <a name="securityhub-Type-SortCriterion-SortOrder"></a>
The order used to sort findings.  
Type: String  
Valid Values: `asc | desc`   
Required: No

## See Also
<a name="API_SortCriterion_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/securityhub-2018-10-26/SortCriterion) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/SortCriterion) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/SortCriterion) 