ACF repeater show rows in descending order

How to display ACF repeater rows in descending order — the last rows go the first.

Как вывести ряды ACF repeater в обратном порядке — последние наверх.

 $rows_before_reverse = get_field('gallery');
 $rows = array_reverse($rows_before_reverse);
 foreach($rows as $row) { 
 $videourl = $row['videourl'];
 $videotitle = $row['videotitle'];
 $videotext = $row['videotext'];
 $videoimage = $row['videoimage'];
 if (!$videoimage) {
 if (preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $videourl, $sem_video)) {
 $videoimage = '//'.$sem_video[1].'/maxresdefault.jpg';
 } else $videoimage = '';
 <div class="video-box">
 <div class="wrapper">
 <div class="col-6 bgblack">
 <div class="image">
 <img src="<?=$videoimage;?>" alt="<?=$videotext;?>">
 <div class="overlay light">
 <div class="video">
 <div class="wrapper">
 <div class="exit">x</div>
 <div class="video_player"><?php echo wp_oembed_get($videourl, array('width'=>'960px','height'=>'500px')); ?></div>
 <div class="video_box"></div>

<div class="col-6 bggreen">
 <div class="author">
 <h2><?php echo $videotitle; ?></h2>
 <p><?php echo $videotext; ?></p>
 </div><!-- end video-box -->
 <?php } ?>