JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://raw.github.com/douglascrockford/JSON-js/master/json2.js"></script>

JavaScript

//use first recursive to make basic model, categories only.
//maintain an array of desendents with pointers to the categories in the model in the same recursive function.

//loop through the assets, use the pointers to add assets to thier respective categories.

//Perform sorting, what step / stage to sort? 

var data = {
  list: [
    {name: "arse",url: "boo"},
    {name: "arse",url: "boo"}, 
    {name: "arse",url: "boo"}
]};


var arr = [];

for(var i=0; i<data.list.length; i++)
{
  arr.push(data.list[i]);
}

console.log(arr[1].url);
console.log(data.list[1].url);

arr[1].url = "mooootherfucker";

console.log(arr[1].url);
console.log(data.list[1].url);