I am using some logic chips by Texas Instruments, namely SN74HC02N, SN74HC04N, SN74HC32N and others.
When I connected them in my circuit, the SN74HC02N NOR-gate didn't work as expected, so I searched for a datasheet. It showed that the pin layout for the chip was reversed: It was Y, A, B instead of A, B, Y.
The other chips from the same family and manufacturer that I have are all A, B, Y. This is very counter-intuitive and doesn't make much sense.
Why does this one chip have a different pin layout?
Is there an alternative version that has a A, B, Y layout?