Add -min, -max, -min-by and -max-by.
Merge pull request #38 from rejeep/min-and-max

Add -min and -max.