@utilities.arguments_not_none<EOL><INDENT>def set_target_order(self, target_ids):<DEDENT>
reordered_targets = []<EOL>current_target_ids = [t['<STR_LIT:id>'] for t in self.my_osid_object_form._my_map['<STR_LIT>']]<EOL>if set(target_ids) != set(current_target_ids):<EOL><INDENT>raise IllegalState('<STR_LIT>')<EOL><DEDENT>for target_id in target_ids:<EOL><INDENT>for current_target in self.my_osid_object_form._my_map['<STR_LIT>']:<EOL><INDENT>if target_id == current_target['<STR_LIT:id>']:<EOL><INDENT>reordered_targets.append(current_target)<EOL>break<EOL><DEDENT><DEDENT><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'] = reordered_targets<EOL>
reorder targets per the passed in list
        :param target_ids:
        :return: