# `MGOrderedDictionary insertObject:forKey:atIndex:`

*Instance Method*

## Declaration

```swift
func insert(_ object: ObjectType, forKey key: KeyType, at idx: UInt)
```

```objc
- (void) insertObject:(ObjectType) object forKey:(KeyType) key atIndex:(NSUInteger) idx;
```

```python
insertObject_forKey_atIndex_(object: ObjectType, key: KeyType, idx: int)
```

