Priority sorting when adding to ready queue
Preempt running thread for higher priority thread