# `GSGlyph.groupIdx`

*Instance Property*

The ordering value of an explicit glyph group.

## Declaration

```swift
var groupIdx: Int16 { get set }
```

```objc
@property (nonatomic) int16_t groupIdx;
```

```python
pyobjc_instanceMethods.groupIdx() -> int
pyobjc_instanceMethods.setGroupIdx_(groupIdx: int)
```

## Discussion

Glyphs with the same positive value belong to the same group. A value less than or equal to zero uses category-based grouping.

## See Also

### Group

- [`GSGlyph.group`](/Core/GlyphsCore/GSGlyph/group) — The title of an explicit glyph group used for sorting and display.
- [`GSGlyph.storeGroup`](/Core/GlyphsCore/GSGlyph/storeGroup) — Whether [`GSGlyph.group`](/Core/GlyphsCore/GSGlyph/group) and [`GSGlyph.groupIdx`](/Core/GlyphsCore/GSGlyph/groupIdx) are stored as glyph-local glyph info.

