diff --git a/Solr_Base_Query.php b/Solr_Base_Query.php
index 71fc377..74448f0 100644
--- a/Solr_Base_Query.php
+++ b/Solr_Base_Query.php
@@ -438,6 +438,13 @@ class SolrBaseQuery extends SolrFilterSubQuery implements DrupalSolrQueryInterfa
     return $this;
   }
 
+  public function setAvailableSorts($sorts) {
+    // We expect a complete array of valid sorts.
+    $this->available_sorts = $sorts;
+    $this->parseSortString();
+    return $this;
+  }
+
   public function removeAvailableSort($name) {
     unset($this->available_sorts[$name]);
     // Re-parse the sortstring.
