Modify apache solr search sort options? Is there the ability through contrib module or hooks to modify how the apache solr sort block sorts queries? 

Currently, it seems it supports these queries out of the box:


Relevancy
Title
Author
Date


What i would like to have is to remove Author, Add a field to sort title from a-z and z-a. Is that possible?
You can find all info with examples here: http://drupal.org/node/715276

&lt;?php
function MYMODULE_apachesolr_query_prepare(DrupalSolrQueryInterface &amp;$query, &amp;$caller) {
  $query-&gt;addParam('fl', 'some_field_image');
  $query-&gt;addParam('fl', 'some_field_date');
  //Remove sorts
  $query-&gt;remove_available_sort('sort_label');
  $query-&gt;remove_available_sort('bundle');
  $query-&gt;remove_available_sort('sort_name');
  //Rename sorts
  $query-&gt;remove_available_sort('score');
  $query-&gt;set_available_sort('score', array('title' =&gt; t('Relevance'), 'default' =&gt; 'desc'));
  $query-&gt;remove_available_sort('ds_created');
  $query-&gt;set_available_sort('ds_created', array('title' =&gt; t('Latest'), 'default' =&gt; 'desc'));
 }
?&gt;