// FIR_IDENTICAL class Item(val name: String, val rating: Int): Comparable { public override fun compareTo(other: Item): Int { return compareBy(this, other, { rating }, { name }) } } // from standard library fun compareBy(a: T?, b: T?, vararg functions: T.() -> Comparable<*>?): Int = throw Exception()