Fix bug, order by job_id