title: Change the order of custom field for Woocommerce variable products in admin area
body: <p>I followed this tutorial for adding custom fields into WooCommerce variations.</p>
  
  <p><a href="http://www.remicorson.com/woocommerce-custom-fields-for-variations/" rel="nofollow noreferrer">http://www.remicorson.com/woocommerce-custom-fields-for-variations/</a></p>
  
  <p>Everything worked great...</p>
  
  <p>However the method for inserting the field into the dashboard (product edit) area doesn't mention <strong>how to change the order of the field as seen in the dashboard</strong>.
  .
  <a href="https://i.stack.imgur.com/Ks7qs.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ks7qs.jpg" alt="enter image description here"></a></p>
  
  <pre><code>// Add Variation Settings
  add_action( 'woocommerce_product_after_variable_attributes', 'variation_settings_fields', 10, 3 );
  // Save Variation Settings
  add_action( 'woocommerce_save_product_variation', 'save_variation_settings_fields', 10, 2 );
  
  function variation_settings_fields( $loop, $variation_data, $variation ) {
      // Text Field
      woocommerce_wp_text_input( 
          array( 
              'id'          =&gt; '_text_field[' . $variation-&gt;ID . ']', 
              'label'       =&gt; __( 'My Text Field', 'woocommerce' ), 
              'placeholder' =&gt; 'http://',
              'desc_tip'    =&gt; 'true',
              'description' =&gt; __( 'Enter the custom value here.', 'woocommerce' ),
              'value'       =&gt; get_post_meta( $variation-&gt;ID, '_text_field', true )
          )
      );
  
  }
  
  function save_variation_settings_fields( $post_id ) {
      // Text Field
      $text_field = $_POST['_text_field'][ $post_id ];
      if( ! empty( $text_field ) ) {
          update_post_meta( $post_id, '_text_field', esc_attr( $text_field ) );
      }
  }
  </code></pre>
  
  <p>Any help would be much appreciated!</p>