title: Action filter execution order
body: <p>I have created two classes that implement <code>AuthorizeAttribute</code>.</p>
  
  <p>One is used globally, and I set it on the Global.asax.cs:</p>
  
  <pre><code>filters.Add(new FirstAuthorizeAttribute() { Order = 0 });
  </code></pre>
  
  <p>The other is called <code>SecondAuthorizeAttribute</code> and it is used only in some action methods, and I use it as attribute in the methods I want.</p>
  
  <pre><code>    [HttpGet]
      [SecondAuthorize]
      public ActionResult LogOut()
      {
          FormsAuthentication.SignOut();
          Session.Clear();
          Session.Abandon();
          return Redirect(Url.Content("~/"));
      }
  </code></pre>
  
  <p>The problem is that <code>SecondAuthorizeAttribute</code> always execute before <code>FirstAuthorizeAttribute</code>, and I need this one to execute first. The order is not being helpful, how could I do it?</p>