Hey ...Now i want to compare the two things...I will explain my problem..
Now I got single items and their values
For exmple:
item: value
2 : 6
1 : 5
3 : 4
5 : 3
i want use this to swap the place for my combination
for example,
before swap,
item : value
1 2 : 3
2 3 4 : 1
1 2 5 : 1
i need to compare with the single item and value to swap the place.
let say,
2 got 6 values, but 1 got 5 values is less than 2
the first combination for 1 2 will become 2 1..but the value for the item 2 1 is remain the same.
after swap
item : values
2 1 : 3
2 3 4 : 1
2 2 5 : 1
I try many times already but still don not know how to do...hope someone can help me.