I have two array.
How to check different and correct the order in a new array?
EG.
Array_a
0 => 1
1 => 2
2 => 3
3 => 4
4 => 5
Array_b
0 => 1
1 => 2
2 => 3
3 => 3
4 => 5
You see different between Array_a and Array_b is
Array_a {3=>4}
Array_b {3=>3}
So I want to make a new array Array_c to make order in this change
Array_c
0 => 1
1 => 2
3 => 3
2 => 4
5 => 5
How can I process it?
Thanks~