SceneMode.SCENE2D z ordering doesn't work by height

We want to switch our map to 2d and have been doing z ordering by height since the map was in 3d, when switching to 2d it ignores it and we don’t know of any other way to go about z ordering.

Do you have any ideas?

we using the latest resium version in react