I\'m looking to sort an associative array ($rows) based on a sub-object array value. The array consists of products, and some of them has a "badge". These can be a