So I'm now using a priority queue for depth sorting as per your suggestion. The other methods weren't working unfortunately.
But I'm not sure how to draw lights at certain depths now when looping through my sorted depth instance list.
I have a light of type le_light_spot created by my player and it follows my player around, but I'm not sure:
1) How to turn off its default drawing/rendering
2) How to manually render it after my player's draw event call in my depth sorting object
How do I manually render, for example, a spot light using code?