1. Configurable ordering type support for Dimensions

2. ExtractionDimensionSpec support in GroupBy
I think all the changes in this file are unused additional imports and unnecessary formatting changes