Added the ability to use priority 1 as the next action.
Also removed sorting by date and priority for determining next action -
it is not helpful or expected.