For the following Array:
[{a:1,b:1},{a:5,b:2},{a:10,b:2},{a:20,b:3}]
How to get a new Array which combine the element with the same value of