presto-spi/src/main/java/io/prestosql/spi/type/AbstractType.java/AbstractType/compareTo
class AbstractType:    @Override
    public int compareTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition)
    {
        throw new UnsupportedOperationException(getTypeSignature() + " type is not orderable");
    }