Hi John
The code below must be run when the checkbox option is set to “check”.
<?php
// Get repeater value
$repeater = get_field('options');
// Obtain list of columns
foreach ($repeater as $key => $row) {
$the_logo[$key] = $row['logo'];
$the_bonus[$key] = $row['bonus'];
$the_link[$key] = $row['link'];
}
array_multisort( $repeater, SORT_DESC );
foreach( $repeater as $row ) {
} ?>