It's not always bad to have long lines. What's more important IMO is to actually explain what the code is doing.

```ruby
# meta_search doesn't support virtual columns, so ((enter what this does instead here))
if chain.respond_to?(:select_values) && chain.select_values.any? {|s| s =~ /[aA][sS] #{column}/ } 
  column = active_admin_config.resource_quoted_column_name(column)
  chain.reorder "#{column} #{order}"
```