A post was merged into an existing topic: If i enabled flat category, attributeToSort(),addAttributeToSelect() is not working (duplicate)