Re order tiles

is there a way with the stock dashboard to re order the tiles.
I want to add a contact sensor but to have it behind another tile?

Currently newer added tiles go over the top of older

if you want one tile on top of the other, I don't think there's any way to change this default behavior. Add your contact sensor, then add a duplicate tile for the device you want to be behind, delete the original tile, move your two new tiles into place.

Thought so

It is based on the order they appear in the JSON. Think of the JSON as a dealer stacking cards, numbers don't matter. You can do this via JSON edits if you wanted. Not sure it worth it, as mentioned you can delete and re-add to have a higher value. You can see it in my post here.

Tile stacking (shown with smartly but applies to all HE dashboards)