# Sort smart sync download order

**URL:** <https://community.yatse.tv/t/sort-smart-sync-download-order/2907>\
**Category:** Implemented\
**Created:** [September 3, 2020, 9:16pm UTC](https://community.yatse.tv/t/sort-smart-sync-download-order/2907 "2020-09-03T21:16:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllesMeins](https://community.yatse.tv/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@AllesMeins](https://community.yatse.tv/u/AllesMeins)\
**Post date:** [September 3, 2020, 9:16pm UTC](https://community.yatse.tv/t/sort-smart-sync-download-order/2907/1 "2020-09-03T21:16:06Z")

</div>

This is just a minor annoyance, but it might also be an easy fix. This is why I’m putting in an request, but please ignore it if it is more than a few minutes work 😀

I use smart-sync to download the next five episodes on my phone for my commute. Currently this seems to be done in a random order. But sometimes I’m in a hurry and don’t have time to wait until all episodes are downloaded. So it would be helpful if Smart-Sync would do the download in order starting from the next unwatched episode. So I would have something to watch even if the queue wasn’t fully downloaded.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [September 4, 2020, 6:29am UTC](https://community.yatse.tv/t/sort-smart-sync-download-order/2907/2 "2020-09-04T06:29:40Z")

</div>

This is already the case, I’ll need logs to see what you are talking about.

---

<div class="post-metadata">

**Author:** ![AllesMeins](https://community.yatse.tv/letter_avatar_proxy/v4/letter/a/53a042/32.png) [@AllesMeins](https://community.yatse.tv/u/AllesMeins)\
**Post date:** [September 4, 2020, 11:04am UTC](https://community.yatse.tv/t/sort-smart-sync-download-order/2907/3 "2020-09-04T11:04:54Z")

</div>

I guess in this case it is not a matter of a few minutes 🤔 Thanks for taking a look at this issue.

I’ve attached the log of my last sync and two screenshots showing the resulting download-queue. As you see for some reason episode 60 is downloaded first and than it goes in the reverse order from 65 to 57… But that is not always the case - I’ve seen different orders as well.

[debug-20200904\_125723.zip](https://community.yatse.tv/uploads/short-url/9VVvHdRyhP9fKUK4SNK3A0mrYAL.zip) (63.3 KB)

 ![Screenshot_20200904-123521_Yatse](https://community.yatse.tv/uploads/default/original/2X/6/6aa1a2eb3de105bd8b5c2d477fa8e32316c8225e.png) ![Screenshot_20200904-123547_Yatse](https://community.yatse.tv/uploads/default/original/2X/3/32f4e40446f46768ed6d4ad0b4aa28fc0f53737c.png)

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [September 4, 2020, 11:47am UTC](https://community.yatse.tv/t/sort-smart-sync-download-order/2907/4 "2020-09-04T11:47:16Z")

</div>

Ok so yes episodes are queued in order, but in the middle there’s a resolution step that goes full multi-threading without any guaranteed ordering ☹

Moving this back as a feature request 🙂

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [October 13, 2020, 9:27am UTC](https://community.yatse.tv/t/sort-smart-sync-download-order/2907/5 "2020-10-13T09:27:35Z")

</div>

Fixed in next version.
