lib/dynamic_scaffold/controller_utilities.rb
def sort_params
        params
          .require('pkeys')
          .map {|p| p.permit(*dynamic_scaffold.model.primary_key) }
      end
def sort_params
        params
          .require('pkeys')
          .map {|p| p.permit(*dynamic_scaffold.model.primary_key) }
      end
Get paramters for sort action. `pkeys[][column] => value`