Check system is Little Endian OR Big Endian
Byte Order can be checked by viewing the information about CPU.
Run this command,
lscpu | grep "Byte Order"
You will get to know your Byte Order.
You can also use Python:
python -c "import sys; print(sys.byteorder)"
It will print either little
or big
.