Adding basic functionality for job per partition priority
Modifying sort_job_queue2 for using per partition priority