def reorder_pinned_topics(self, order):
<EOL>if is_multivalued(order):<EOL><INDENT>order = "<STR_LIT:U+002C>".join([text_type(topic_id) for topic_id in order])<EOL><DEDENT>if not isinstance(order, text_type) or "<STR_LIT:U+002C>" not in order:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>response = self._requester.request(<EOL>'<STR_LIT:POST>',<EOL>'<STR_LIT>'.format(self.id),<EOL>order=order<EOL>)<EOL>return response.json().get('<STR_LIT>')<EOL>
Puts the pinned discussion topics in the specified order.
All pinned topics should be included.

:calls: `POST /api/v1/courses/:course_id/discussion_topics/reorder \
<https://canvas.instructure.com/doc/api/discussion_topics.html#method.discussion_topics.reorder>`_

:param order: The ids of the pinned discussion topics in the desired order.
    e.g. [104, 102, 103], (104, 102, 103), or "104,102,103"
:type order: string or iterable sequence of values

:rtype: :class:`canvasapi.paginated_list.PaginatedList` of
    :class:`canvasapi.discussion_topic.DiscussionTopic`