put one's house in order
put one's house in order or set one's house in order {v. phr.}
To arrange your affairs in good order.
Grandfather knew he would not live long and set his house in order.
When Mr. Black died, his lawyer helped the widow put her house in order.
Categories:
Source: A Dictionary of American Idioms