Chris
Good point. I'll add a note that when grouping or sorting, the values
must be the same type or null.
Of not, we are experimenting in 1.1 with setting custom comparators on
the Fields object on the field the comparator should be used. This
will provide fine grained control of the comparison and sorting.
Have also considered allowing Fields to hold a type. this would be
handy in this case where you want to guarantee the values are coerced
before the comparison. an alternative would be to have a Comparator
take Object though, and do the coercion. still pondering...
ckw
--
Chris K Wensel
ch...@concurrentinc.com
http://www.concurrentinc.com