compareProperty

fun <T : Comparable<T>, P : Comparable<P>> T.compareProperty(other: T, property: KProperty1<T, P?>): Int