orderBy should not reverse an array of objects

When no predicate is provided, orderBy will reverse an array of objects.
This isn't ideal. It should err on the side of preserving the order.

It happens because, for objects, in the compare() function, v1 < v2 is
false, so the comparator function returns 1 (effectively moving v2
before v1).