Ray is 100% correct.
The 16 long ones are for the outside (either side).
The 8 middle ones are for the inside disc side.
The 8 shortest ones for the inside drive side.
I have two OEM rear sets and both came with the spokes grouped as long and short but there are, in fact, two slightly...