i need to aggregate my data. this would be easy if i use mongodb aggregation,, but i want to perform in client side. LoDash or Underscore should solve this...

suppose i have this data:

```
var data = [
    {
        "uId" : "u1",
        "qId" : "q1",
        "share" : 2,
        "star"  :   2,
        "score" : 5
    },
    {
        "uId" : "u1",
        "qId" : "q2",
        "share" : 2,
        "star"  :   2,
        "score" : 5
    }.
    {
        "uId" : "u2",
        "qId" : "q1",
        "share" : 2,
        "star"  :   2,
        "score" : 5
    },
    {
        "uId" : "u2",
        "qId" : "q2",
        "share" : 3,
        "star"  :   3,
        "score" : 7
    },
    {
        "uId" : "u3",
        "qId" : "q1",
        "share" : 3,
        "star"  :   3,
        "score" : 7
    },
    {
        "uId" : "u3",
        "qId" : "q2",
        "share" : 3,
        "star"  :   3,
        "score" : 7
    }
]

```

i need this result:

```
result = [
    {
        "uId" : "u3",
        "qId" : 2,
        "share" : 6,
        "star"  :   6,
        "score" : 14
    },
    {
        "uId" : "u2",
        "qId" : 2,
        "share" : 5,
        "star"  :   5,
        "score" : 12
    }
]

```

it sort by highest score and limit the result to only show 2 results

thank You...