Sort Json text and save in firebase

I have a problem I need help to.
I get this Json from an API and I like to sort it and save it in fire base.
But I cant figure out how to make the function code(template).
Can someone please help me out here.
I need the Handle, address, longotude and latitude and phone for all customers and store them seperate in firebase under the Handle as the head and the other info as childs.
Hoping for help soon thank you all and be safe out there......

Array.prototype.sort() - JavaScript | MDN (

You can use a compare in the sort function to do this in a function node.