module ActiveAdmin
  class OrderClause

    def to_sql(active_admin_config)
      to_mongo_options(active_admin_config)
    end

    def to_mongo_options(active_admin_config)
      { @column => @order.downcase.to_sym }
    end
  end
end

module ActiveAdmin
  class OrderClause

    def to_sql
      to_mongo_options
    end

    def to_mongo_options
      { @column => @order.downcase.to_sym }
    end
  end
end

Fix to work with to_sql refactor
Fix to work with to_sql refactor
