Get a field name used for sorting in a query. This is just a hardcoded way at the moment to handle the fact that to sort by 'Title', you actually want to sort by title_exact (due to tokenization in solr).
Signature
public function getSortFieldName(String
$field,
[String
$classNames = NULL] )
Parameters
$field
—
object
The field name to get the Solr type for.
$classNames
—
object
A list of potential class types that the field may exist in (ie if searching in multiple types)