Added ExtentWithIndices and ExtentWithIndicesSorted