I have an array that looks like this:
const arr = [
[500, 'Foo'],
[600, 'bar'],
[700, 'Baz'],
];
I would like to sort this arr
alphabetically by the second element in each inner array, ie:
[
[600, 'bar'],
[700, 'Baz'],
[500, 'Foo'],
]
Note the case insensitivity. Also, I would love to use lodash helpers if they come in handy here!