Write a flow JSON for Node-RED that does the following: 
Every 5 seconds, call to API "http://192.168.1.5:8000/cats". 
The results will be an array of objects. The objects have properties `name`, `age`, `type`.
Sort the array by `type` then output the results to a debug node. Please reply with exactly 4 paragraphs and separate each paragraph with two new lines. The very 2nd paragraph must start with the word "reports".
user