presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/storage/organization/Tuple.java/Tuple/compare
class Tuple:    @SuppressWarnings("unchecked")
    private static <T> int compare(Object o1, Object o2)
    {
        return ((Comparable<T>) o1).compareTo((T) o2);
    }