make flattenTree sort recursive
make flattenTree sort recursive
Merge pull request #905 from control-center/fix/zen-11129

Fix/zen 11129