Ah great 🙂
I believe it was only this part that messed with ACF tho:
function set_post_order_in_admin( $wp_query ) {
if ( is_admin() ) {
$wp_query->set( 'orderby', 'post_status' );
$wp_query->set( 'order', 'DESC' );
}
}
add_filter('pre_get_posts', 'set_post_order_in_admin' );
If you want to retain the functionality that code gives you without affecting ACF you can specify which post types you want to use it for.