Does anyone know how to add an option to product list for sorting products by their sales (popularity)? You know, currently there are three: position, price and name. It's relatively easy to make any product property sortable, but how about those, which are in different table(s)? In my situation, that would be product sales.
Thanks!