Thanks for the reply.

If I'm going to do it that way, how do you suggest sorting them?
I can't think of a way right now.
A different approach is having a method for drawing the objects, that takes the objects and the player as arguments (different objects), and then loop through the list of still-objects (houses, trees, etc.), but with drawing the player when the loop reaches that x-coord. I can't see any downsides on that, except complexity, when NPC's are going to wander my world. That doesn't seem bad though..
That way all the still objects wouldn't have to be sorted every frame, but only once while in that scene. However, I still need a way to update the list. I have not worked much with lists - could someone perhaps provide pseudocode just for sorting a list of instances of the objects?
