GROOVY-7175: add DGM indexed methods (has index, value ordering)