sorting collections by subcategory, an attribute and by productname
问题 I been working on a problem for hours now and it seems I can not find a way to get the above sorting to work. In an magento project (im relatively new to magento) I have to sort the collection first by subcategory, then an attribute and last by the product name. is Anchor is set to ture with all categories, so parent categories also show subcategory products. I came across an idea of using the ReflectionObject using the usort() PHP function with an comparator function, like this: private