Augment min/max signature for non-numeric types

Made min/max signature generic to support non-numeric types, such as dates.
Merge pull request #2354 from clement911/patch-3

Augment min/max signature in ix.js for non-numeric types