static int CompareTexture ( SpriteBatchItem a, SpriteBatchItem b ) { return a.Texture.SortingKey.CompareTo(b.Texture.SortingKey); }