

# OrderBy
<a name="API_OrderBy"></a>

Filter criteria that orders the return output. It can be sorted in ascending or descending order.

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

 ** propertyName **   <a name="tm-Type-OrderBy-propertyName"></a>
The property name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `.*`   
Required: Yes

 ** order **   <a name="tm-Type-OrderBy-order"></a>
The set order that filters results.  
Type: String  
Valid Values: `ASCENDING | DESCENDING`   
Required: No

## See Also
<a name="API_OrderBy_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/iottwinmaker-2021-11-29/OrderBy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iottwinmaker-2021-11-29/OrderBy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iottwinmaker-2021-11-29/OrderBy) 