if you are facing the cable plug, the pins are numbered 14253, left to right
if you are facing the connector, on the board, the pins are numbered 35241 left to right.
1. left audio out
4. right audio out
2. screen (ground)
5. right audio in
3. left audio in