You have little and big endians:
https://en.wikipedia.org/wiki/Endianness
I had a bunch of openwrt routers based on the ADM5120 SoC, some of them were of different endianness, totally wth:
https://linux-mips.org/wiki/Adm5120