Looks like:
.sort(v => v[1].id, ‘asc’); // Sorted by the command name
should be:
.sort(v => v[1].name, ‘asc’); // Sorted by the command name
“name” not “id”
Right?
Looks like:
.sort(v => v[1].id, ‘asc’); // Sorted by the command name
should be:
.sort(v => v[1].name, ‘asc’); // Sorted by the command name
“name” not “id”
Right?