When giving a custom comparison in std::sort use < as operator (not <=).

`a <= b` is **not** equivalent with `b >= a` but `a < b` **is** equivalent to `b > a`.

This fixes crashes in debug mode (especially in some tests) in which case the
runtime checks this rule and quits execution on violation.

This gotcha was examined together with Dima and Tom.