sync jobs in sorted order, fix support for parent