I have three categories like CAT-A, CAT-B, CAT-C and I want the product collection from these by the order CAT-A products, CAT-B products, CAT-C products.
When I trying to get the product collection without any filter, I get the random products from these categories.
I'm trying to filter the product collection by category like
$collection = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSort('category_id', 'ASC')
but it's not working.