The job PD.EOD.RETRY.PAYMENT in the PD.EOD.PRE.PROCESS batch will enable repaying the PD prior to the underlying contract (LD/MG). Hence if your requirement is to have the PD repaid first then please include the job PD.EOD.RETRY.PAYMENT as in the case of R14.
LD is repaid first instead of PD