how to sort products by most viewed in Magento?
===

I want to sort products by "most viewed" in the category page in Sort By dropdown.
How would i do that?
can anyone help please?
I am using magento 1.6.2.0

Thanks.