Synchronize layer order, if order was changed from extrenal