Enable max and min for non-numbers but comparable types.

we'll need tests for both endpoints, feel free to nest the tests as appropriate