I have a feeling this question already exists, just can't find it.
Is there a way to take a 2d array with x rows and 2 columns and merge multiple values into one row based on it having the same element in the first column?

```
[['Needs Work', 'Joe'], ['Needs Work', 'Jill'], ['Needs Work', 'Jack'], ['Complete', 'Sean'], ['Complete', 'Joe'], ['Not Started', 'Laura'], ['Needs Work', 'Jack']]

```

So that it looks like this

```
[ [ 'Needs Work', 'Joe,Jill,Jack,Jack' ],
  [ 'Complete', 'Sean,Joe' ],
  [ 'Not Started', 'Laura' ] ]

```