

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

Details about the criteria used for sorting investigations.

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

 ** Field **   <a name="detective-Type-SortCriteria-Field"></a>
Represents the `Field` attribute to sort investigations.  
Type: String  
Valid Values: `SEVERITY | STATUS | CREATED_TIME`   
Required: No

 ** SortOrder **   <a name="detective-Type-SortCriteria-SortOrder"></a>
The order by which the sorted findings are 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/detective-2018-10-26/SortCriteria) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/detective-2018-10-26/SortCriteria) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/detective-2018-10-26/SortCriteria) 