For comparing different types of sorts