Task: Sort data based on numerical values in Descending Order

n8n workflow JSON:
{"nodes":[{"name":"Mock Data","type":"n8n-nodes-base.function","position":[1330,284],"parameters":{"functionCode":"return [\n  {\n    json: {\n      name: 'Stefan',\n      id: 3,\n    }\n  },\n  {\n    json: {\n      name: 'Jim',\n      id: 1,\n    }\n  },\n  {\n    json: {\n      name: 'Hans',\n      id: 2,\n    }\n  }\n];\n"},"typeVersion":1},{"name":"Sort in Descending","type":"n8n-nodes-base.function","position":[1530,284],"parameters":{"functionCode":"const sortedArr = items.sort((a, b) => {\n    return b.json.id - a.json.id;\n})\nreturn sortedArr"},"typeVersion":1}],"connections":{"Mock Data":{"main":[[{"node":"Sort in Descending","type":"main","index":0}]]}}}