Illustrative example
A business is closing. One partner put in forty thousand pounds of capital, the other five thousand. After the debts are paid there is about twenty thousand left, and the smaller contributor says they split it down the middle.
The order in section 44 is strict: outside creditors first, then each partner rateably for advances as distinguished from capital, then each partner rateably in respect of capital, and only the ultimate residue is divided in the profit-sharing proportions. The fact that decides this is that the twenty thousand is reached at the capital stage, not the residue stage - so it is applied rateably towards the capital accounts before anything is shared equally.
They agree the remaining funds are applied to the capital accounts in proportion to the sums contributed, with the shortfall on the larger account borne equally as a loss of capital.