|
Сортировка по колонке
Пример
$arTable = array(
0 => array( "ID" => 12, "NAME" => 'q100', ),
1 => array( "ID" => 12, "NAME" => 'q300', ),
2 => array( "ID" => 12, "NAME" => 'q90', )
);
$arTable = \Askaron\Api\Func::sortArrayByField($arTable, "NAME", SORT_ASC);
objectToArray |
Описание курса
| sortArrayByFieldNatCase
|