Use this filter to change the order of fields in certain situations, such as the {summary} magic tag used in emails.
This filter must return a flat array of field IDs, or things are likely to break.
add_filter( 'cf_conn_form_set_order_for_email', function( $order, $form ){ //randomize order shuffle( $order ); return $order; }, 10, 2);