Magento ordering collections after adding items
问题 i have this method on which i retrieve first a Varien_Data_Collection and then I add items one by one from another Varien_Data_Collection by addItem(): protected function _prepareCollection(){ $productId = $this->getRequest()->getParam('id'); $websiteId = 0; if ($store = $this->getRequest()->getParam('store')) { $websiteId = Mage::app()->getStore($store)->getWebsiteId(); $collection = Mage::getModel('productalert/stock') ->getCustomerCollection() ->join($productId, $websiteId); foreach (