I'm wondering if is there any way to sort a JSON response with Express JS
my JSON file looks like with Postman :
{
"id":"",
"fname":"",
"lname":"",
"country":"",
"phonen":""
}
and I want to change the order and take phonen to the top.
like
{
"id":"",
"phonen":"",
"fname":"",
"lname":"",
"country":""
}