сортировка по ключу
function cmp($a, $b) { return strnatcmp($a["product_order"], $b["product_order"]); } usort($parts, "cmp");