gregbell/active_admin — pull request #2469 by mwean (2013-09-11 06:46:39+00:00)
Title: Add custom sorting methods

I was looking for a way to specify a custom search method for a table column, but didn't find anything. I followed the pattern from MetaSearch of defining `sort_by_x_asc` and `sort_by_x_desc` methods that get called if available and return a scope. If you'd prefer a different interface, I can change it to something else.

I made this request on the rails4 branch because that's what I'm using, but I can make a request on master as well.