I'm trying to make a method that returns an array with all of the objects in the world in order from down-left of the screen to top-right of the screen, with the objects being from left to right, and then the next lowest y value from left to right, etc.. I have NO idea of how to make one efficient enough to not lag the scenario, though. Does anyone know any way?

