
## DataSorterKey class

Represents the key of the data sorter.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Order](#order) | Number | Indicates the order of sorting. The value of the property is SortOrder integer constant. |
| [Index](#index) | Number | Gets the sorted column index(absolute position, column A is 0, B is 1, ...). |
| [Type](#type) | Number | Represents the type of sorting. The value of the property is SortOnType integer constant. |
| [IconSetType](#iconsettype) | Number | Represents the icon set type. The value of the property is IconSetType integer constant. Only takes effect when Type is  |
| [IconId](#iconid) | Number | Represents the id of the icon set type. Only takes effect when Type is SortOnType.ICON . |
| [Color](#color) | Color | Gets the sorted color. Only takes effect when Type is SortOnType.CELL_COLOR or SortOnType.FONT_COLOR . |

### DataSorterKey.Order property {#order}

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

**Type:** Number

### DataSorterKey.Index property {#index}

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

**Type:** Number

### DataSorterKey.Type property {#type}

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

**Type:** Number

### DataSorterKey.IconSetType property {#iconsettype}

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

**Type:** Number

### DataSorterKey.IconId property {#iconid}

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

**Type:** Number

### DataSorterKey.Color property {#color}

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

**Type:** Color
