Fix I/O queuing to conform to actual intent:

Queue is ordered by priority, with resume requests first for each priority, followed by start requests for the priority.