Custom order revolution sliders post base slides as inserted in Specific Posts List field

function modify_slider_order($query, $slider_id) {

    if($slider_id == 4) {
       // $ids=[16427,16557,16822,16507,16392,16548,16564,16426,16412,16404,16419,16421];
         $query['orderby'] = 'post__in';
//         $query['orderby'] = array (
//     'post__in' => $ids,
//     'orderby' => 'post__in',
//     'order'   => 'ASC'
// );


    }

    return $query;

}

add_filter('revslider_get_posts', 'modify_slider_order', 10, 2);

This solved my problem, I’m not sure why I don’t even have to pass IDs but this worked.