Why reverse the bits in Serial Flash Lib

I notice in the serial flash library, that before sending data to a serial flash device, the bits are reversed (D7 -> D0, D6 -> D2, etc.

Why is this done???

Because Rabbit’s clocked serial ports sends the byte LSB to MSB which is exactly the opposite from the most common SPI memory devices.