<?php
$a = Array
(
'ShipOCI/Quality Container Warehouse' => Array
(
'0' => Array
(
'id' => 238,
'fk_company_billto' => 7908,
'fk_company_warehouse' => 7181
),
'1' => Array
(
'id' => 17024,
'fk_company_billto' => 1039,
'fk_company_warehouse' => 7181
),
'2' => Array
(
'id' => 0,
'fk_company_billto' => 1039,
'fk_company_warehouse' => 7181
)
),
'Star Warehouse LLC' => Array
(
'0' => Array
(
'id' => 260,
'fk_company_billto' => 1039,
'fk_company_warehouse' => 8964
),
'2' => Array
(
'id' => 238,
'fk_company_billto' => 9149,
'fk_company_warehouse' => 8964
),
'3' => Array
(
'id' => 238,
'fk_company_billto' => 0,
'fk_company_warehouse' => 8964
),
'4' => Array
(
'id' => 238,
'fk_company_billto' => 7333,
'fk_company_warehouse' => 8964
),
'5' => Array
(
'id' => 238,
'fk_company_billto' => 9049,
'fk_company_warehouse' => 8964
),
'6' => Array
(
'id' => 238,
'fk_company_billto' => 7333,
'fk_company_warehouse' => 8964
),
'7' => Array
(
'id' => 238,
'fk_company_billto' => 9049,
'fk_company_warehouse' => 8964
),
'8' => Array
(
'id' => 238,
'fk_company_billto' => 8217,
'fk_company_warehouse' => 8964
),
'9' => Array
(
'id' => 238,
'fk_company_billto' => 7516,
'fk_company_warehouse' => 8964
),
'10' => Array
(
'id' => 82,
'fk_company_billto' => 1039,
'fk_company_warehouse' => 8964
)
),
'OCI India Surface Shipping & Transport Systems Pvt. Ltd.' => Array
(
'0' => Array
(
'id' => 238,
'fk_company_billto' => 7908,
'fk_company_warehouse' => 7276
),
'1' => Array
(
'id' => 238,
'fk_company_billto' => 9049,
'fk_company_warehouse' => 7276
)
),
'QA Test Edit' => Array
(
'0' => Array
(
'id' => 82,
'fk_company_billto' => 8217,
'fk_company_warehouse' => 8217
)
)
);
array_multisort(array_map('count', $a), SORT_DESC, $a);
print_r($a);
preferences:
23.86 ms | 406 KiB | 5 Q