std.algorithm: Document sort's predicate expectations