Update model.rb

change parse_sort_param check for db_sort_field.empty? not db_sort_field

db_sort_field is String (.to_s), so if we want condition to has any sense we should to check for empty? string, because any String (even "") will evaluete as true.