Recently for a game I'm making I finally decided to add some depth to the tilemap, but putting another tilemap with a adjusted y-value and a higher layer, and I think it really adds to it. However, it comes with the problem of z-ordering with sprites. On the bottom it works as you would expect, concealing sprites to give a semi-3d-ish effect, but it also conceals them from the top which looks much worse.
I was wondering if there was a way to somehow z-order the tiles? I could use sprites over each tile and z-order them that way but I'm assuming checking possibly hundreds of sprites every frame would be pretty taxing on the cpu so if theres a way to do it with the tilemap that'd be great!
(just to help clarify the bottom tilemap is on the bottom layer, the player sprite on its own layer, and the top tilemap is on the uppermost layer)