lambda added to sort the sprites on the Y axis (thanks François ;) )