Based on a request from this thread,
I have made a sample NS Playground app to dynamically change the order of layers in a GridLayout.
Here’s the link to it.
Here’s the trick. You just remove and add that element to the same grid layout.
Remove by doing,
Add by doing,
hope this is useful to someone out there!, Cheers. Happy NativeScripting
Here’s the result