$offers[] = [
'brand' => $item->NameOfCatalog,
'number' => $item->ShotNumber,
'name' => $item->NameRus,
'stock' => (($item->NumberOfAvailable)? $item->NumberOfAvailable: '<span class="glyphicon glyphicon-ok"></span>'),
'price' => $item->SalePrice,
'delivery' => $item->NumberOfDaysSupply,
'supplier' => 'supplier'
];
usort($offers, function ($item1, $item2) {
if ($item1['price'] == $item2['price']) return 0;
return $item1['price'] < $item2['price'] ? -1 : 1;
});