How to positioning a field before another specific field with hook_form_alter()
Set the weight property of your required lower than other.

$form['field_latitude']['#weight'] = 0;
$form['input_latitude']['#weight'] = -10;

or
function provintegra_form_alter(&amp;$form, &amp;$form_state, $form_id) {

$form['input_latitude'] = array(
  '#type' =&gt; 'textfield', 
  '#title' =&gt; t('Search address'), 
  '#default_value' =&gt; '',
  '#prefix' =&gt; '&lt;div id="map"&gt;Mappa qui&lt;/div&gt;',
  '#weight' =&gt; -10,
);


}