def filterrific_sorting_link_reverse_order(filterrific, new_sort_key, opts)
      # current sort column, toggle search_direction
      new_sort_direction = 'asc' == opts[:current_sort_direction] ? 'desc' : 'asc'
      new_sorting = safe_join([new_sort_key, new_sort_direction], '_')
      css_classes = safe_join([
        opts[:active_column_class],
        opts[:html_attrs].delete(:class)
      ].compact, ' ')
      new_filterrific_params = filterrific.to_hash
                                          .with_indifferent_access
                                          .merge(opts[:sorting_scope_name] => new_sorting)
      url_for_attrs = opts[:url_for_attrs].merge(:filterrific => new_filterrific_params)
      link_to(
        safe_join([opts[:label], opts[:current_sort_direction_indicator]], ' '),
        url_for(url_for_attrs),
        opts[:html_attrs].reverse_merge(:class => css_classes, :method => :get, :remote => true)
      )
    end
def filterrific_sorting_link_reverse_order(filterrific, new_sort_key, opts)
      # current sort column, toggle search_direction
      new_sort_direction = 'asc' == opts[:current_sort_direction] ? 'desc' : 'asc'
      new_sorting = safe_join([new_sort_key, new_sort_direction], '_')
      css_classes = safe_join([
        opts[:active_column_class],
        opts[:html_attrs].delete(:class)
      ].compact, ' ')
      new_filterrific_params = filterrific.to_hash
                                          .with_indifferent_access
                                          .merge(opts[:sorting_scope_name] => new_sorting)
      url_for_attrs = opts[:url_for_attrs].merge(:filterrific => new_filterrific_params)
      link_to(
        safe_join([opts[:label], opts[:current_sort_direction_indicator]], ' '),
        url_for(url_for_attrs),
        opts[:html_attrs].reverse_merge(:class => css_classes, :method => :get, :remote => true)
      )
    end
Renders HTML to reverse sort order on currently sorted column.
 @param filterrific [Filterrific::ParamSet]
 @param new_sort_key [String]
 @param opts [Hash]
 @return [String] an HTML fragment