Under Section 48 of the Indian Partnership Act 1932, the order of application of assets on dissolution is: first pay the debts of the firm to third parties (C), then pay each partner ratably what is due as advances/loans (A), then pay each partner ratably what is due on account of capital (B), and finally distribute the residue in the profit sharing ratio (D). Hence the order is C, A, B, D.