JS: Sort an Array of Objects on multiple columns/keys
Let's see how you can completely configure the sorting of an Array of objects. Let's say we have the below data set for our entire example.
let objs = [
{ name: 'Mark',
age: 30,
RollNo: 'R01'
},
{ name: 'Anne',
age: 20,
RollNo: ...
markbdsouza.hashnode.dev3 min read