Upon dissolution, assets are distributed sequentially:
1. Third-party claims (D): External creditors are satisfied first.
2. Partner advances (A): Loans from partners to the firm are repaid.
3. Partner capital (B): Original capital contributions by partners are returned.
4. Profit sharing (C): Any residual profits are allocated according to the partnership agreement.