1. Configurable ordering type support for Dimensions

2. ExtractionDimensionSpec support in GroupBy
did anything change in this file? if this is just formatting, please use existing conventions