Adding of Sort to COMM and part of integration