sorted ready queue