sort out

verb
RareNot in standard dictionaries
1

To clarify by reviewing mentally.

2

To arrange.

3

To fix (a problem).

4

To organise or separate into groups, as a collection of items, so as to make tidy.

5

To separate from the remainder of a group; often construed with from.

6

To take action to stop someone who has been causing trouble, often by physically attacking them.

7

To provide (somebody) with a necessity, or a solution to a problem.

#slang