Здесь 
www.yiiframework.com/doc-2.0/guide-helper-array.ht... сказано о возможности группировки массива так, что из:
$array = [
    ['id' => '123', 'data' => 'abc', 'device' => 'laptop'],
    ['id' => '345', 'data' => 'def', 'device' => 'tablet'],
    ['id' => '345', 'data' => 'hgi', 'device' => 'smartphone'],
];
можно получить:
$array = [
    '123' => [
        ['id' => '123', 'data' => 'abc', 'device' => 'laptop']
    ],
    '345' => [ // all elements with this index are present in the result array
        ['id' => '345', 'data' => 'def', 'device' => 'tablet'],
        ['id' => '345', 'data' => 'hgi', 'device' => 'smartphone'],
    ]
]
На деле этого не происходит. Откуда взялась такая документация? Возможно перепутали названия методов?
В частности:
$a = [
        ['id' => '123', 'data' => 'abc', 'device' => 'laptop'],
        ['id' => '345', 'data' => 'def', 'device' => 'tablet'],
        ['id' => '345', 'data' => 'hgi', 'device' => 'smartphone'],
    ];
    $b = yii\helpers\ArrayHelper::index($a, null, 'id');
    var_dump($b);
выдает
array (size=1)
  '' => 
    array (size=3)
      'id' => string '345' (length=3)
      'data' => string 'hgi' (length=3)
      'device' => string 'smartphone' (length=10)