A court ruling brings Tesco shop workers a step closer to gaining equal pay with warehouse staff.