Closing Activity sequence

Can anyone explain the final take.

Is it C or D?? Many debates regarding these two answers and still confused Close contract is the last activity or Release the team.

Which of the following is the correct order of actions that you take during the Closing processes?

A) Get formal acceptance, release the team, write lessons learned, close the contract
B) Write lessons learned, release the team, get formal acceptance, close the contract
C) Get formal acceptance, write lessons learned, release the team, close the contract
D) Get formal acceptance, close the contract, write lessons learned, release the team

from the post I still did not get which is the right answer c or d?

can you explain in more better way.

D , becuase you'll need the team to help write the lessoned learned