Thanks, but I have been playing around with this and it’s not seeming to make any difference. This is what i’ve currently got:
add_filter('rpwc2_allow_custom_sort_orderby_override', 'override_orderby_sorting', 10, 5);
function override_orderby_sorting($override, $wp_query, $taxonomy, $term_id, $type) {
if ($wp_query->get('post_type') === 'gs_team' && $wp_query->is_main_query()) {
$override = true;
}
return $override;
}