fixed sort order for jobs (closes #21)