Update model.rb

`parse_sort_param` check for `db_sort_field.blank?`