Original Post
I have my sprites in an stl list and i thought sorting them by x*y would order them right but it doesnt. How would you order the list so it will render them right?(like render the ones with the less y value first and if they have the same y value render the ones with the less x value first and so on)