FINALLY reworked depth sorting system! Now there should be less lag in the long run + it will be easier to make the level(s)!
Tip from developer: when making depth sorting, test it with multiple objects, not just one. I learned that the hard way...