presto-spi/src/main/java/io/prestosql/spi/type/RowType.java/RowType/isOrderable
class RowType:    @Override
    public boolean isOrderable()
    {
        return fields.stream().allMatch(field -> field.getType().isOrderable());
    }