Array of Pins unexpected results
sizeof on an array gives you the size of the entire array in bytes. You need to divide this by the size of a single element in order to get the number of elements.

sizeof(LEDS) / sizeof(LEDS[0])