you may also use layers for rendering order like when you player is in front or behind something on the same tile
You are supposed to use different layers ( ground,walls, collectibles,...)