Add ordering of jobs based on their type