Fix invalid operator < debug assertion

Per the spec, the comparator for std::stable_sort should return false when both elements are equal