How does the lighting cable work plugged in any way round?
Per this site:




  Apple Lightning interface is adaptive - the controller chip dynamically assign pins function according to plugged device.
  
  The Apple Lightning connector plug can be inserted with either side
  facing up (the processor inside the plug detects the plug's
  orientation and routes the electrical signals to the correct pins).Two
  differential pair lanes (L0p/n and L1p/n) may swap in IC of device
  connector (lanes don't swap if accessory identification chip connect
  to ID0 pin).