1. Types
2. cis
3. data
4. legacy
5. resource model

## cis data legacy resource model: sort spec

Determines how a list of result items should be sorted by the values of one or more properties that belong to the models associated with the resources that the result items represent.

### Representations:

- JSON
- XML

{
"property": "string",
"sort_direction": "ASCENDING"
}
<?xml version="1.0" ?>
<ns0:SortSpec xmlns:ns0="http://vmware.com/cis/data/legacy/resource_model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<sort_direction>ASCENDING</sort_direction>
<property>string</property>
</ns0:SortSpec>

#### Attributes:

Name | Type | Description
--- | --- | ---
Required
property | string | Specifies the resource model property whose value to compare when sorting the result items. Each property specification begins with the fully-qualified name of the resource model that declares the property, followed by the name of the property. The property name could be either a single property name, in case of an immediate property of the resource model or a property path, i.e. chain of property names, separated with `/` symbol to indicate a child property, e.g. `com.acme.PersonModel/relatives/father`.
Optional
sort_direction | string | Specifies the order direction to use when sorting the result items by the specified resource model property/properties. The default value is ASCENDING. Optional. If unset, defaults to ASCENDING.