Hey as a lot of you know I've been stuck on depth sorting for ages.
I've come up with some sorting events, that in my mind, make complete sense and SHOULD work.
However they don't seem to be working as planned. Here it is:
Does anyone have any idea why this wouldn't work properly?
I ran a small test that, instead of using a for loop, I used a user controlled variable that was increased and decreased by pressing the up and down arrows and it worked perfectly. But when I'm using the loop it doesn't work