# `GSSortInteger`

*Function*

## Declaration

```swift
func GSSortInteger(_ idx1: Int, _ idx2: Int) -> ComparisonResult
```

```objc
NSComparisonResult GSSortInteger(NSInteger idx1, NSInteger idx2);
```

```python
GSSortInteger(idx1: int, idx2: int) -> NSComparisonResult
```

## See Also

### Comparison and Sorting

- [`GSSortPointValue`](/Core/GlyphsCore/GSSortPointValue)
- [`GSSortPoint`](/Core/GlyphsCore/GSSortPoint)
- [`GSSortFloat`](/Core/GlyphsCore/GSSortFloat)
- [`GSSortFloatLenient`](/Core/GlyphsCore/GSSortFloatLenient)
- [`GSComparePoint`](/Core/GlyphsCore/GSComparePoint)
- [`GSCompareSize`](/Core/GlyphsCore/GSCompareSize)
- [`GSCompareTransformStruct`](/Core/GlyphsCore/GSCompareTransformStruct)
- [`GSAffineTransformIsIdentity`](/Core/GlyphsCore/GSAffineTransformIsIdentity)
- [`GSCompareRect`](/Core/GlyphsCore/GSCompareRect)
- [`GSCompareRange`](/Core/GlyphsCore/GSCompareRange)

