basic instinct tells us A better than D, but in your case D's much better than A.
say, A's ROI = 20%, very good investment,
while D got a loan with higher rate, then, your method still rate D much much better than A, because the D's loan money as inflow definitely bigger than A's rent income as an inflow.