Sort array of object by name
const applications = [
{
"name": "etherpad",
"state": "running"
},
{
"name": "wordpress",
"state": "initialize"
},
{
"name": "ghost",
"state": "running"
}
];
const test = applications.sort((a, b) => a.name.localeCompare(b.name));
console.log(test);INFO