Add a global for defining endianness instead of using the order input to the type reader.