Hi Everyone i have this problem that im stuck in like 4 weeks now

I’m using Tiled and Tiled2Unity to make my maps the problem is i have made multiple layer in Tiled (image 1) all is good but when i import it in unity my prefabs are always behinde the the objects (layer 2) of the map i tried to change the Z index but nothing , after multiple tries i found that the sprite renderer is the problem (Image 2) when i create a simple cube with mesh renderer all work great (Image 2) please Help .

Image 1 :

Image 2 :
98927-image-3.jpg

Check the Sorting Order and Order in Layer of the two sprite renderer.

For Example:
Use Same Sorting Order and Keep Order in Layer of One Sprite Renderer (say X) as 1 and another (say Y) as 2.
That should Make it look as of Sprite X is behind Sprite Y.