def reorder_tracks(self, indexes, new_index):
        if isinstance(indexes, int):
            indexes = [indexes]
        indexes = list(set(indexes))  # Remove duplicates
        spotify.Error.maybe_raise(lib.sp_playlist_reorder_tracks(
            self._sp_playlist, indexes, len(indexes), new_index))
Move the tracks at the given ``indexes`` to a ``new_index`` in the
dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py/Playlist.reorder_tracks