I am trying to sort the returned results of a post list item. Any thoughts, cause this is not working at all.
//If it’s Edit screen – set radio choice accordingly
function my_acf_load_value( $value, $post_id, $field ) {
$order = array();
if ( isset($_GET[‘edit_artist’])) $value = ‘edit’;
array_sort( $order, SORT_ASC, $value );
return $value;
}