
## DataSorterKey class

Represents the key of the data sorter.

## Methods

| Name | Description |
| --- | --- |
| [getColor()](#getcolor) | Gets the sorted color. Only takes effect when Type is SortOnType.CELL_COLOR or SortOnType.FONT_COLOR. |
| [getIconId()](#geticonid) | Represents the id of the icon set type. Only takes effect when Type is SortOnType.ICON. |
| [getIconSetType()](#geticonsettype) | Represents the icon set type. The value of the property is IconSetType integer constant. Only takes effect when Type is  |
| [getIndex()](#getindex) | Gets the sorted column index(absolute position, column A is 0, B is 1, ...). |
| [getOrder()](#getorder) | Indicates the order of sorting. The value of the property is SortOrder integer constant. |
| [getType()](#gettype) | Represents the type of sorting. The value of the property is SortOnType integer constant. |

### getColor() {#getcolor}

Gets the sorted color. Only takes effect when Type is SortOnType.CELL_COLOR or SortOnType.FONT_COLOR.

### getIconId() {#geticonid}

Represents the id of the icon set type. Only takes effect when Type is SortOnType.ICON.

### getIconSetType() {#geticonsettype}

Represents the icon set type. The value of the property is IconSetType integer constant. Only takes effect when Type is SortOnType.ICON.

### getIndex() {#getindex}

Gets the sorted column index(absolute position, column A is 0, B is 1, ...).

### getOrder() {#getorder}

Indicates the order of sorting. The value of the property is SortOrder integer constant.

### getType() {#gettype}

Represents the type of sorting. The value of the property is SortOnType integer constant.
