title: Drupal 7: Adding weight to drupal_add_js isn't changing position of script
body: <p>I have a whole bunch of modules that add .js scripts to the head using <code>drupal_add_js</code>. I want to make sure one of the scripts appears above all others. To that affect I have added a <code>weight</code> value to the options:</p>
  
  <pre><code>drupal_add_js(some_GTM_script.js, 
   array(
      'type' =&gt; 'inline',
      'scope' =&gt; 'head_scripts',
      'weight' =&gt; 99,
   ));
  </code></pre>
  
  <p>But nothing changes. I've tried <code>99</code>, <code>-99</code>, <code>0</code>, <code>10</code>, but not matter what the script's position doesn't change.</p>
  
  <p>Would anyone know how to do this?</p>