title: Solr - complicated sort
body: <p>I need to sort a list of properties by the following:</p>
  
  <ol>
  <li>Search Term (ex.  City:Atlanta) </li>
  <li>Distance (ex. distance from center of Atlanta, Ga) : geodist(LatLng,34.002878,-84.144637) desc</li>
  <li>PackageLevel asc</li>
  <li>Random Order for PackageLevel's 1-5: product(map(PackageLevel, 1, 5, 1), seedrandom_10) desc</li>
  <li>Distance:  geodist() asc</li>
  </ol>
  
  <p>I can handle all but the first requirement.  I have tried termfreq(City, 'Atlanta'), but it returns an error:</p>
  
  <blockquote>
    <p>sort param could not be parsed as a query, and is not a field that exists in the index: termfreq(City,'Atlanta')</p>
  </blockquote>
  
  <p>Any help would be greatly appreciated.</p>