lib/elasticsearch/faceted_search/sortable.rb
def sort_param
        search_params[:sort]
      rescue
        nil
      end
# Returns string for sort param even if invalid
# rescue required if search params is not a hash
#
Returns string for sort param even if invalid
rescue required if search params is not a hash
Returns string for sort param even if invalid rescue required if search params is not a hash
def sort_param
        search_params[:sort]
      rescue
        nil
      end
def sort_param search_params [ :sort ] rescue nil end
Returns string for sort param even if invalid
rescue required if search params is not a hash
Returns string for sort param even if invalid rescue required if search params is not a hash