input array =>

```
[{_id: "555", sumdigit: 1000,  Price: 1000}{_id: "677", sumdigit: 10,  Price: 320} {_id: "555", sumdigit: 170, Price: 1000}  {_id: "444", sumdigit: 10,  Price: 1000} {_id: "400", sumdigit: 10,  Price: 320}]

```

output array =>

```
[{_id: "555", sumdigit: 1170,  Price: 1000},{_id: "677", sumdigit: 10,  Price: 320},{_id: "444", sumdigit: 10,  Price: 1000}, {_id: "400", sumdigit: 10,  Price: 320}]

```