sorting job lists before printing