As a bit of a learning exercise I decided to write a flow to check state of my Chrony time server.
After much trial and error I have taken the output of an exec node, split on new lines, removed spaces and managed to create an object as above. This is all done in one function node, but I'm stuck on the last bit!
How do I go about soring the above object by the key? names - MONITOR-PLUG-11 etc?
Have spent far too long trying to work this out so no longer fun
As I mentioned I was really just trying to learn a bit more about manipulating objects etc. Turning a console output to a usable object seemed like a good exercise.
I understand comments about the sort order but I knew it could be done, and it is easier to check in a debug window for missing devices that way.
@Steve-Mcl I actually remember seeing that post among many others, but now I have working code its easier to reverse engineer to understand how things work.