Use of Ransack gem in Rails 4 (Search with sortable feature)