1. Configurable ordering type support for Dimensions

2. ExtractionDimensionSpec support in GroupBy
indentation is off, can you please follow the same formatting conventions as the rest of the code?