

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

Defines how rows will be sorted in the response.

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

 ** dimension **   <a name="awscostmanagement-Type-CostOptimizationHub_OrderBy-dimension"></a>
Sorts by dimension values.  
Type: String  
Required: No

 ** order **   <a name="awscostmanagement-Type-CostOptimizationHub_OrderBy-order"></a>
The order that's used to sort the data.  
Type: String  
Valid Values: `Asc | Desc`   
Required: No

## See Also
<a name="API_CostOptimizationHub_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/cost-optimization-hub-2022-07-26/OrderBy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cost-optimization-hub-2022-07-26/OrderBy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cost-optimization-hub-2022-07-26/OrderBy) 