@utilities.arguments_not_none<EOL><INDENT>def set_choice_order(self, choice_ids, inline_region):<DEDENT>
reordered_choices = []<EOL>current_choice_ids = [c['<STR_LIT:id>'] for c in self.my_osid_object_form._my_map['<STR_LIT>'][inline_region]]<EOL>if set(choice_ids) != set(current_choice_ids):<EOL><INDENT>raise IllegalState('<STR_LIT>')<EOL><DEDENT>for choice_id in choice_ids:<EOL><INDENT>for current_choice in self.my_osid_object_form._my_map['<STR_LIT>'][inline_region]:<EOL><INDENT>if choice_id == current_choice['<STR_LIT:id>']:<EOL><INDENT>reordered_choices.append(current_choice)<EOL>break<EOL><DEDENT><DEDENT><DEDENT>self.my_osid_object_form._my_map['<STR_LIT>'][inline_region] = reordered_choices<EOL>
reorder choices per the passed in list
        :param choice_ids:
        :return: