code: def set_bit_order(self, order):
          
          if order == MSBFIRST:
              self._device.lsbfirst = False
          elif order == LSBFIRST:
              self._device.lsbfirst = True
          else:
              raise ValueError('Order must be MSBFIRST or LSBFIRST.')
docs: Set order of bits to be read/written over serial lines.  Should be
          either MSBFIRST for most-significant first, or LSBFIRST for
          least-signifcant first.