sort oneself out : To successfully deal with a problem or difficulty (=cope, carry off)
to do what is necessary to deal with a problem, disagreement, or difficult situation successfully
ex)
This woman is a fighter, she sorted herself out
This matter could be sorted out if they would just sit down and talk.
If you have a problem, the welfare officer can help you sort yourself out.
work butt off: work very hard