

# Sort
<a name="API_Sort"></a>

Sort search results.

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

 ** sortField **   <a name="healthimaging-Type-Sort-sortField"></a>
The sort field for search criteria.  
Type: String  
Valid Values: `updatedAt | createdAt | DICOMStudyDateAndTime`   
Required: Yes

 ** sortOrder **   <a name="healthimaging-Type-Sort-sortOrder"></a>
The sort order for search criteria.  
Type: String  
Valid Values: `ASC | DESC`   
Required: Yes

## See Also
<a name="API_Sort_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/medical-imaging-2023-07-19/Sort) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/medical-imaging-2023-07-19/Sort) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/medical-imaging-2023-07-19/Sort) 