Order-disorder transformation in ternary tetrahedral semiconductors