static int compareSpriteIndices( ArrangedSprite a, ArrangedSprite b ) { return a.index.CompareTo( b.index ); }