I want to know what are the methods to sort a object by their value in JS

Viewed 23

My object is in this form:

const objectName = {
 "Name": "XYz"
 "Roll": "34"
 "badgeNo": undefined
 "fatherName": "abc"
 "motherName": null
 }

want to sort the object by value of this key-value object

0 Answers
Related