Sort sprites in draw order after each frame
Eliminate code duplication when moving sprites