So, I updated to Org-mode 9.5.3 from ELPA and the problem is gone.
Now, I get the tasks in the agenda in the correct order: Earliest deadlines firsts, on top of the tasks list, then the tasks without deadlines. The only option I have to set is: ``` (setq org-agenda-sorting-strategy '((agenda deadline-down time-up habit-up priority-down timestamp-down category-keep) (todo deadline-up priority-down category-keep) (tags priority-down category-keep) (search category-keep))) ``` Do the `deadline-up` option will apply to all todo lists in the agenda ? Even the ones in custom views ? Ihor Radchenko <yanta...@gmail.com> writes: > Sébastien Gendre <s...@k-7.ch> writes: > >> If I evaluate the same setq and define the same tasks, my result withe >> org-agenda tasks list are: >> >> Global list of TODO items of type: ALL >> Press ‘N r’ (e.g. ‘0 r’) to search again: (0)[A$ >> (1)TODO (2)DONE >> test: TODO test1 >> test: TODO test2 >> test: TODO test3 >> test: TODO test4 >> >> I tested at this moment with Org version 9.5.2 on Emacs version 27.2 > > I am unable to reproduce using Emacs 27.2 + latest Org main or bugfix. > Can you try to reproduce starting from emacs -Q? > See https://orgmode.org/manual/Feedback.html or > https://open.tube/videos/watch/4d819114-43bf-42df-af94-f94fc53dd0d9 for > detailed instructions. > > Best, > Ihor