Click on "Lipo pack wiring" -
http://www.scriptasylum.com/rc_speed/_lipo.html
Or do you need to know abaout the wires going into the connector? With standard JST-XH plugs, the ground goes into the first wire then the other cells go in order after it. If you look at a plug it's easier to do.