BUG GH10425 test_categorical big-endian fix
BUG: Changing test_categorical to compare with native byte ordering instead of comparing with little-endian one

closes #10425

can you add a whatsnew note in 0.17.0. just push (and squash) and lmk.
 I hope now is OK.
Thank you!

Regards,
Jurica
 merged via https://github.com/pydata/pandas/commit/7e9026db746d2762c615b32e4e0ddf4cf1cc61e5

thanks!
