How can I restructure a record's element, that participates in the calckey and index sortkey?