class Ransack::Nodes::Sort

def extract(context, str)

def extract(context, str)
  return unless str
  attr, direction = str.split(/\s+/, 2)
  self.new(context).build(name: attr, dir: direction)
end