If I do this:
console.log(result)
In console I get:
[Object, Object, Object, Object, Object]
Where Object expanded looks like:
contacts: Array[344]
letter: "#"
__proto__: Object
contacts: Array[11]
letter: "A"
__proto__: Object
contacts: Array[31]
letter: "B"
__proto__: Object
contacts: Array[1]
letter: "Z"
__proto__: Object
How can I resort result so that the object with letter == # is at the end of the array?
Thanks