I'm using it for Interface Writer, so that windows can be sorted alphabetically. The data's stored like this:
js code:
Interface.Window[WndId].Property = Value;
Interface.Window[WndId].Control[CtrlId].Property = Value;
Interface.Window[WndId].Element[ElmtId].Property = Value;
I'm looping through the window, control and element arrays.