Fixed solr sorting bug