Consider the following solutions:
When creating the post, make sure to use update_field() for the event_date field. This function saves the value in a way that ACF and WordPress recognize.
Re-save the post meta with acf_update_value:
$event_date = '2024-01-01'; // Example date
acf_update_value($event_date, $post_id, 'event_date');
If the event_date is stored as YYYYMMDD (the ACF default) or Y-m-d, ensure that the value set programmatically matches this format. Passing an incorrectly formatted date can cause issues with sorting if ACF expects YYYYMMDD.