move ordered index call to core
translate key before getting subshape