I would like to sort each of my layered navigation filters by # of items in each filter.
Here's what shows now-
- Books - 1
- CD's - 2
- DVD's - 20
What I want to show-
- DVD's - 20
- CD's - 2
- Books - 1
I've been looking at catalog/layer/filter.phtml, but I can't figure out how to sort magento collections.
Ideally I want something like this:
$this->getItems()->order('Count Desc')
How can I accomplish this?