Its Magento age for e-commerce platform and when you are dealing with such CMS based platform you’ll need to sort your data in terms of categories . Magento inbuilt provides a ShopBy feature to sort the data in terms of attributes e.g price,categories ,manufactures etc .
How to Enable the SHOPBY Feature :
First i’ll suggest to have a look of layer structure of Magento .There are dozens of article on this topic so lets have a google .
Solution: set anchor “YES” for category from admin panel.admin panel->catalog->manage catgeory->open any category and set anchor “yes”.also make sure that you didn,t remove “shop by” block reference from catalog xml file.
Thats it. Enjoy 🙂