when sorting entries in annotation_set_item, should use relocated type index in lieu of original one