Added sorting capabilities to solr search