text: I'm not an astronomer, so just taking a cursory look. 
  
  M31 and M33 are comparable distances from us (2.5 & 2.7 million LY, respectively). 
  
  My understanding is that local group has more to do with mutual gravitational interaction than distance, although they are for sure correlated. Thx!