add a test for lexicographic comparisons in numbers, a la #20
make comparator value coercion default to the type of the 'key' value when not explicitly specified, fixes #20