# File lib/rubygame/sprite.rb, line 505 def sort_sprites self.sort! { |a,b| (b.depth or 0) <=> (a.depth or 0) } end