Changed to little endian

to fit with bitset::to_string() which interprets bitset as little endian.