My project is quite long, If need be I'll go through and try to write out a minimal example. For now though, here is the basic steps I go through in the sprite batching process. Please let me know if anything seems terribly off.
gameArray is the sf::VertexArray
quadCount is an int that keeps track of the amount of vertices already set up in gameArray
gameRenderStates is the sf::RenderStates that carries the info for gameArray
SetUp
-quadCount = 0;
-gameArray.setPrimitiveType(sf::Quads);
-gameArray.resize(2000);
Go through and draw sprite
-gameArray[quadCount].position = position;
-gameArray[quadCount++].texCoords = textureCoordinates;
-(repeat for each corner)
Draw the Vertex Array to the Window
-window.draw(gameArray,gameRenderStates);
-gameArray.clear();
-quadCount = 0;
-gameArray.resize(2000);