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