yt.units.unit_object.Unit.class_key

Unit.class_key()

Nice order of classes.