Maybe try changing the arrangement?
if (this.props.params.q) {
map.relevance = '';
}
map.latest = '-lastTime';
map.top = '-commentsCount';
map.newest = '-startTime';
map.oldest = 'startTime';
return map;
}
To:
if (this.props.params.q) {
map.relevance = '';
}
map.newest = '-startTime';
map.latest = '-lastTime';
map.top = '-commentsCount';
map.oldest = 'startTime';
return map;
}