How do I manually control the order of rendering of entities and primitives in cesium 1.39?

I want to control the order of rendering of entities manually.

Hi there,

As of Cesium 1.44, we have added the ability to order DataSources with the raise, raiseToTop, lower, and lowerToBottom functions.

In Cesium 1.46, which will be released this Friday, June 1, we’ve added the ability to order individual entities with a zIndex property. You can checkout Cesium master if you want to try it out before the release.

Thanks,

Gabby