Order checklist by due date
Asked by Oriane:

Hello

Do you know if there is a possibility to atomatically order the tasks of a checklist by due date ?  

thanks


Answers:
author: Soumyadeep Mandal
body: Hi [@Oriane](/t5/user/viewprofilepage/user-id/3921191) ,

Welcome to the community as well as in the group!

To change **sorting** , just click the "**Sorting** by..." link at the top of your cards page and select "**Sort** by **Due Date** " or "**Sort** by Board". Another nice time saver: **Trello** will remember how you had your cards **sorted** on a per-browser basis so you don't have to set it every time. Visit your cards page to see it in action.

Some more information on how to use advanced checklist <https://help.trello.com/article/942-how-to-use-advanced-checklists-to-set-due-dates-and-add-members-to-checklist-items>

And also **Butler** can help you out with **sorting, filtering \& automating** things.

You can sort lists by the due date, card name, votes, by the value of a custom field, or by a label with the `sort list` command, e.g.:

`every day at 8am, sort list "Tasks" by due date`

`sort "Books" by name`

`sort "Tasks" by custom field "Start Date"`

`every wednesday at 12pm, sort "Proposals" by votes`

`sort the cards in list "Backlog" by age`

`sort the cards in list "To Do" by time in list`

You can also reverse the order:

`every day at 5:30pm, sort list "Done" by due date descending`

`every wednesday at 12pm, sort "Proposals" by votes ascending`

`sort the cards in list "Backlog" by age descending`

`sort the cards in list "Done" by time in list descending`

Sorting by label requires specifying the order:

`sort list "To Do" by label green, yellow, red`

You can also specify label names:

`sort list "To Do" by label green, yellow "High", yellow "Medium", yellow, red`

Note that color without a name catches all the labels with that color regardless of title.

By default, `name` is sorted ascending (alphabetically), `due date` is sorted ascending (older due dates first), `votes` is sorted descending (more votes first), and `time in list` and `card age` are sorted ascending (less recent first). In `by label`, `descending` reverses the order of the sort.

Finally, the lists themselves (instead of their contents) can also be arranged by title:

`arrange the lists on this board by title`

### UPDATE JULY 2017 {#toc-hId-1145518647}

You can now sort by two criteria, to break ties, e.g.:

`sort list "To Do" by due date ascending and then by custom field "Points" descending`

Simply add `and then` and the second criterion. Another example:

`sort list "To Do" by label green, yellow, red and then by due date ascending`

*** ** * ** ***

IMPORTANT {#toc-hId-1135015543}
-------------------------------

1. This is a **scheduled** (e.g. `every day at 8am, sort list "X" by due date`) or **immediate** (e.g. `sort list "X" by name`) command. It's not a continuously running one: i.e. **Butler Bot won't keep the list sorted as cards are added to it**.

2. Alphabetical sorting is case-insensitive (i.e. "A" and "a" are considered the same).

3. Alphabetical sorting is not locale-sensitive, i.e. it will sort according to **U.S. English alphabetical order**, not that of the user's language.

4. The list is **progressively sorted** over a period of seconds or even minutes to avoid hogging all the Trello API quota by one user.

5. If **too many moves** are required to sort a list (more than 100), the command will be stopped and the list will be partially sorted.


author: Iain Dooley
body: [@Oriane](/t5/user/viewprofilepage/user-id/3921191) you can't (yet) sort items in a checklist by due date. An alternative to the advanced checklists feature in the meantime would be to create a linked card for each checklist item and then you can set the due dates on the cards and sort them in their lists:

<https://community.atlassian.com/t5/Trello-articles/Trello-Subtasks-with-Butler/ba-p/1060392>


Tags: automation

checklist

due-date

sort