title: Execute Slim application middleware before route middleware
body: <p>According to the documentation <a href="http://www.slimframework.com/docs/concepts/middleware.html" rel="nofollow">http://www.slimframework.com/docs/concepts/middleware.html</a>:</p>
  
  <blockquote>
    <p>The last middleware layer added is the first to be executed.</p>
  </blockquote>
  
  <p>According to the same documentation, Slim supports <code>application</code>, <code>route</code>, and <code>group</code> middleware.</p>
  
  <p>I wish to utilize both application and route middleware.  The application middleware is for authentication, and should be executed first.</p>
  
  <p>How is this accomplished?</p>