if (tf == WritableTypeFamily.getInstance()) {
builder.sortComparatorClass(ReverseWritableComparator.class);
} else if (tf == AvroTypeFamily.getInstance()) {
AvroType<K> avroType = (AvroType<K>) ptype;
Schema schema = avroType.getSchema();
builder.conf("crunch.schema", schema.toString());
builder.sortComparatorClass(ReverseAvroComparator.class);
} else {
throw new RuntimeException("Unrecognized type family: " + tf);
}
} else if (tf == AvroTypeFamily.getInstance()) {