# File lib/sdb/active_sdb.rb, line 322 def sort_options(sort_string) sort_string[/['"]?(\w+)['"]? *(asc|desc)?/i] [$1, ($2 || 'asc')] end