Allows to add new sorting columns to the
find_products method.
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:onGetProductSearchSortColumns', $this, 'get_search_sorting_columns');
}
public function get_search_sorting_columns()
{
return array('x_newfield');
}
Note that the columns should be defined in the shop_products table.