Force attribute lines to stay in order
<p>I have inherited a project from a previous developer.  After opening and rebuilding it in my copy of VS, a couple of the lines below somehow swapped positions which caused major problems in the release build.</p>

<p>When I traced back the cause I noticed the original developer had tried to force these lines to stay in a fixed order by adding a comment line (see below).</p>

<p>Is there a better way of ensuring these lines always remain in this order?</p>

<pre><code>[assembly: System.Web.UI.WebResource("BS.Web.Controls.AjaxFileUpload.XMLHttpExecutor.js", "application/x-javascript")]
[assembly: System.Web.UI.WebResource("BS.Web.Controls.AjaxFileUpload.XMLHttpExecutor.debug.js", "application/x-javascript")]
[assembly: System.Web.UI.WebResource("BS.Web.Controls.AjaxFileUpload.AjaxFileUpload.debug.js", "application/x-javascript")]
[assembly: System.Web.UI.WebResource("BS.Web.Controls.AjaxFileUpload.AjaxFileUpload.js", "application/x-javascript")]
[assembly: WebResource("BS.Web.Controls.AjaxFileUpload.AjaxFileUpload.css", "text/css", PerformSubstitution = true)]

namespace BS.Web.Controls
{

    public delegate void EventAjaxFileUploadOnComplete(object sender, HttpPostedFile file);
    public delegate void EventAjaxFileUploadOnAllComplete(object sender);

    [RequiredScript(typeof(CommonToolkitScripts))]
    [Designer("BS.Web.Controls.AjaxFileUploadDesigner, BS.Web.Controls")]
    [ClientCssResource("BS.Web.Controls.AjaxFileUpload.AjaxFileUpload.css")]
    [ClientScriptResource("AjaxControlToolkit.AjaxFileUpload", "BS.Web.Controls.AjaxFileUpload.AjaxFileUpload.js")]
    // Just a throwaway comment to try and prevent the following reference being swapped with the preceding
    [ClientScriptResource("Sys.Net.XMLHttpExecutor", "BS.Web.Controls.AjaxFileUpload.XMLHttpExecutor.js")]


    public class AjaxFileUpload : ScriptControlBase
    {
</code></pre>