I have an array of objects, let's say:

```
var objects = [
  {name: 'A'},
  {name: '1'},
  {name: 'B'}
]

```

Knowing that I can sort it using [Lodash sortBy](https://lodash.com/docs/4.17.2#sortBy "Lodash's sortBy"):

```
objects= _.sortBy(objects, 'name')

```

which will result in this:

```
[
  {name: '1'},
  {name: 'A'},
  {name: 'B'}
]

```

But my desired output is this:

```
[
  {name: 'A'},
  {name: 'B'},
  {name: '1'}
]

```

Please help.