back

by jotaen·4y ago·view on hn ↗
With [x]it!, lexicographic sorting of lines works as well, as long as you stick to the following rules:

- Write due dates first (if you use due dates)

- Pad your priority with dots (if you use priorities)

- Don’t use line breaks within descriptions, so only single-line items

- Don’t use titles

That way, the lines will sort by checkbox status (open first), then by priority (highest first), and finally by due date (soonest first). For example:

    [ ] !!! -> 2022-05-01 Something
    [ ] ..! -> 2022-06-15 Something else
    [x] .!! -> 2022-01-04 More text