How to order scripts registered by ScriptManager's Register Script
<p>I want to alert <code>1</code> registering the scripts in this order</p>

<pre><code>ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "a", "alert(a);", true);
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "b", "var a = 1;", true);
</code></pre>

<p>But doing this causes a error saying a is undefined.</p>

<p>I have different controls located in different parts of the page registering scripts, and some of them need to go first and others need to go last.</p>

<p>Is there a way to set order it will render?</p>
