Update DSceneObjects.java

Reverses the output. So it become easier to read. And I added nullchecks just incase.