I have one array. I need to sort that array using lodash. I used _.sortBy
but it is not sorting capital string, why ?
Here is my code: https://jsfiddle.net/2q9cdjug/
var arr = [
{ name: "pq" },
{ name: "ab" },
{ name: "QE" }
]
var a = _.sortBy(arr, 'name');
console.log(a)