Sort by updated date
<script>
var data = "[
{
"_id": "5efd566ab3e22f002484bbb0",
"first_name": "Jaydip",
"last_name": "Kansagra",
"rate": "0",
"createdAt": "2020-07-02T03:37:14.808Z",
"updatedAt": "2020-07-02T03:37:14.808Z"
},
{
"_id": "5f16d3933fdf4a0024b7a2f8",
"first_name": "Jaydip",
"last_name": "Kansagra",
"rate": "5",
"createdAt": "2020-07-21T11:37:55.310Z",
"updatedAt": "2020-07-21T11:37:55.310Z"
},
{
"_id": "5f3bc286436d850024a2b574",
"first_name": "Jaydip",
"last_name": "Kansagra",
"rate": "3",
"createdAt": "2020-08-18T11:59:02.825Z",
"updatedAt": "2020-08-18T11:59:02.825Z"
}
]";
theme.blend_Obj = data;
theme.blend_Obj.sort((a, b) => (a.updatedAt > b.updatedAt) ? 1 : -1)
</script>
==================================
Sort by Rate (integer value)
<script>
topRates = [...theme.blend_Obj]
topRates.sort((a, b) => (parseInt(a.rate) < parseInt(b.rate)) ? 1 : -1);
</script>