make sum(), min(), max() tolerate unstable first/rest

An humble contribution based on a what was recently done for `reduce()`, but this time for sum(), min() and max().
If this is not desirable please just ignore this pull request