title: How to display NEXT action items followed by TODO items in Agenda View
body: <p>I want to configure a custom agenda view which displays NEXT items followed by TODO items. currently all the TODO items and NEXT items are mixed in the agenda view.</p>
  
  <p>After going through the manual i came across the variable </p>
  
  <pre><code>org-agenda-custom-commands
  </code></pre>
  
  <p>which seems to do the job, but it seems like it can act on single TODO state of an item. How to configure the agend view to display NEXT items followed by TODO items.</p>