array_multisort(): Array sizes are inconsistent in code example
Example: array sizes are inconsistent
foreach($products as $key=>$value){
if(!isset($value->Title)){
$value->Title = "The product has no title";
}
else{
$value->Title = $value->Title;
}
}