def reorder_question_group(self, id, order, **kwargs):
if not isinstance(order, list) or not order:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>for question in order:<EOL><INDENT>if not isinstance(question, dict):<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>)<EOL><DEDENT>if "<STR_LIT:id>" not in question:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT><DEDENT>kwargs["<STR_LIT>"] = order<EOL>response = self._requester.request(<EOL>'<STR_LIT:POST>',<EOL>'<STR_LIT>'.format(self.course_id, self.quiz_id, id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>return (response.status_code == <NUM_LIT>)<EOL>
Update the order of questions within a given group

:calls: `POST /api/v1/courses/:course_id/quizzes/:quiz_id/groups/:id/reorder \
<https://canvas.instructure.com/doc/api/quiz_question_groups.html#method.quizzes/quiz_groups.reorder>`_

:param id: The ID of the question group.
:type id: int
:param order: A list of dictionaries containing the key 'id' of
    the question to be placed at order's index.
:type id: list[dict]

:returns: True if the result was successful (Status code of 204)
:rtype: bool