Would like to be able to sort a todo list by task name. This functionality exists in the old shopping list integration (shopping_list.sort). Example: I keep a grocery list that has aisle number as the prefix. Sorting by task name then makes for a natural flow through the store…
phsdv
(Paul)
February 15, 2024, 1:26pm
2
Great idea. And both checked and unchecked items should be sorted, so that I easily can find back checked items and uncheck them when I run out for that item.
Just looking to port the sort functionality that was in shopping list integration over to the todo integration. Not looking to change any other functionality such as how checked items are handled. Suggest that is a separate request for the devs.
I agree that this would be nice. I put together a separate feature request to sort by due date, but I think the design change could facilitate sorting alphabetically as well.
I am using a todo list as an actual list of things to do! Some of these things have due dates/times (I automatically add weekly tasks for example), and some of them do not (tasks that I want to keep track of, but may not get to for weeks or months).
Currently, adding a new item to the list will just add it to the bottom. This can obscure time-sensitive tasks with older but less important tasks, requiring me to scroll to review the whole list.
I would really like to be able to show the listed i…
Mincka
May 17, 2024, 10:04am
5
I’ve added an automation here that could help with alphabetical sorting while we wait for this feature to be implemented.
ciltocruz
(ciltocruz)
January 21, 2025, 12:36am
6
To-do card sorting coming in 2025.2:
home-assistant:dev
← karwosts:todo-sort
opened 04:17PM - 04 Jan 25 UTC
<!--
You are amazing! Thanks for contributing to our project!
Please, DO N… OT DELETE ANY TEXT from this template! (unless instructed).
-->
## Proposed change
Add an option to todo card to automatically sort items either by alphabetical order, or sort by due date.
Default/None is the current behavior that allows manual sorting and displays items in the order returned by the integration.
![image](https://github.com/user-attachments/assets/565d2c2a-1661-4c9a-94c8-f3aab41303aa)
## Type of change
<!--
What type of change does your PR introduce to the Home Assistant frontend?
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
split it into multiple PRs. This makes things easier and faster to code review.
-->
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (thank you!)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
## Example configuration
<!--
Supplying a configuration snippet, makes it easier for a maintainer to test
your PR.
-->
```yaml
```
## Additional information
<!--
Details are important, and help maintainers processing your PR.
Please be sure to fill out additional details, if applicable.
-->
- This PR fixes or closes issue: fixes #
- This PR is related to issue or discussion:
https://community.home-assistant.io/t/wth-cant-we-get-better-ways-to-view-and-manipulate-to-do-lists/804245
- Link to documentation pull request:
## Checklist
<!--
Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
We're here to help! This is simply a reminder of what we are going to look
for before merging your code.
-->
- [x] The code change is tested and works locally.
- [x] There is no commented out code in this PR.
- [ ] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated for [www.home-assistant.io][docs-repository]
<!--
Thank you for contributing <3
-->
[docs-repository]: https://github.com/home-assistant/home-assistant.io
2 Likes