Solve the sort Colors problem.