I don't know why this:
$attributeCollection = Mage::getResourceModel('myext/attributelist_collection')
//$attributeCollection = Mage::getModel('myext/attributelist')->getCollection()
->addFieldToFilter('to_export', array('eq' => 1))
->getSelect()->order('order DESC');
Isn't working, when the query I get with __getSelect()
is correct and works when I execute it directly in the console.
The line commented is another try that doesn't work.
any idea?