32 LED control with Arduino UNO

All the examples show MSBFIRST, LSBFIRST being used.
Seems to compile ok tho - maybe try adding to reflect how you are wired?

shiftOut(data, clock, MSBFIRST, data);