Allows to add new sorting columns to list_products() methods.
This events affects the following methods:
Shop_Category::list_products(),
Shop_CustomGroup::list_products(),
Shop_Manufacturer::list_products().
The handler should return an array of column names of the shop_products table, including custom fields. Example:
public function subscribeEvents()
{
Backend::$events->addEvent('shop:onGetProductSortColumns', $this, 'get_sorting_columns');
}
public function get_sorting_columns()
{
return array('x_newfield');
}