Create Z order on WM trace

Define Z order as the parsing order to easier iterate over the elements in winscope

Fixes: 259085964
Test: open winscope, open a pip app and expand it
Change-Id: I387f0c711c8798e0a3c9dfe2ba6122ad65530b73
5 files changed