def order_params desc = !desc?
      p = grid.params.dup
      if ordered?
        p[:desc] = desc
      else
        p = p.merge order: name, desc: desc 
      end
      grid.scoped_params p
    end
def order_params desc = !desc?
      p = grid.params.dup
      if ordered?
        p[:desc] = desc
      else
        p = p.merge order: name, desc: desc 
      end
      grid.scoped_params p
    end
if current params contain order for this column then revert direction
 else add order_params for this column to current params