Hullaballoonatic
operator fun Int.compareTo(o: IntRange): Int = when { this in o -> 0 this < o.start -> -1 else -> 1 }