turns out it needed to be post_date instead of simply date, this is the working code.
case 'concertdatum':
$wp_query_args['meta_query'] = array(
'datum_clause' => array('key' => 'datum','compare' => 'EXISTS')
);
$wp_query_args['orderby'] = array('datum_clause' => 'DESC', 'post_date' => 'DESC');
break;
For some odd reason however, the mega menu that my theme uses refuses to sort the posts like I request it to, but that’s a different question not for this site 😉
Ah, so if the custom field is a date time field, which upon closer look it is, I need to alter the code probably ?
Currently I have this but it still puts the published date first, unless I misunderstood you and did something wrong of course…
case 'concertdatum2':
$wp_query_args['meta_query'] = array(
'datum_clause' => array('meta_key' => 'datum', 'compare' => 'EXISTS')
);
$wp_query_args['orderby'] = array('datum_clause' => 'DESC', 'date' => 'DESC');
break;