MachineManagedJob modified to update the manager correctly with sorting before the manager loading