Investors & landlords

I have been allocating the repayments to whatever debt is smaller (property B in this case) so I can simplify things sooner by paying off the debt on B sooner so that I would only have debt left on A which is simpler. Splitting the debt between A and B is more complex so I have avoided that. Would this be acceptable to the IRS? Thank you