Implemented reordering in PriorityJobQueue