Provides comparison of two elements. Alternative of Kotlin stlib Comparator but with result of type ComparisonResult.
Converts Kone Comparator to Kotlin stlib Comparator.
Compares left and right elements.