Make ArrayType comparable