method

compare_values_for_order

compare_values_for_order(values1, values2, order)
private

This is a custom implementation of `<=>` operator, which also takes into account how the collection will be ordered.