ordering jobs and assignments