Samsung exactly did not share that which sensor it is using for rear camera of Galaxy S6 and S6 edge. However, the thorough inspection and software information unveiled that it is Sony IMX240 sensor.
At the same time, it also appeared that Samsung is also using its own ISO CELL in some handsets. It is ambiguous that why Samsung is using two sensors and if it is for select countries. As nobody has bought two devices with different sensors so there is no way to know if there is any difference in quality.
Currently both smartphones are being reviewed with the Sony sensor and found its performance excellent but the ones with Samsung sensor are still needed to be looked at.