updated the sort fields based on collection name, handling _num solr field sort in javascript