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

This fixes crashes in debug mode (especially in some tests) in which case the
runtime checks this rule and quits execution on violation.