1. Configurable ordering type support for Dimensions

2. ExtractionDimensionSpec support in GroupBy
I don't think this change is required, intermediate values are always doubles