You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AttributeError sort order hierarchical_alphabetical #72114
The ability to apply a sort order (alphabetical, alphanumeric, etc.) for tasks or nested TaskGroups contained in an outer TaskGroup, on the graph view of the dag.
Use case/motivation
I have a dag with 4 TaskGroups, each containing several nested TaskGroups which each contain a chain of tasks. I would like for these to display within the outer TaskGroup in alphabetical order so that it's easier to compare runs at a glance. I know that it currently sorts the nested TaskGroups in alphabetical order in the grid view, but that may just be a side-effect of the fact that the list[Dict] that the nested TaskGroups were created from were wrapped with the sorted() function when they were being assigned to their respective variables in my dag script.
In my case, each of the nested TaskGroups contains the same number of chained tasks and none of the nested TaskGroups have any dependencies.
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
I'd like to work on this if it's still available. I'll look at how nested TaskGroups are ordered in the graph view and see whether we can apply an explicit sort (alphabetical / alphanumeric) for chains inside an outer TaskGroup.
changed the title [-]Sort order for task chains or TaskGroups nested within a TaskGroup[/-][+]AttributeError sort order `hierarchical_alphabetical`[/+]on Aug 27, 2026
Activity
boring-cyborg commentedon Aug 26, 2026
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
dgvj-work commentedon Aug 27, 2026
I'd like to work on this if it's still available. I'll look at how nested TaskGroups are ordered in the graph view and see whether we can apply an explicit sort (alphabetical / alphanumeric) for chains inside an outer TaskGroup.
Happy to follow any UI guidance from maintainers.
[-]Sort order for task chains or TaskGroups nested within a TaskGroup[/-][+]AttributeError sort order `hierarchical_alphabetical`[/+]pierrejeambrun commentedon Aug 27, 2026
pierrejeambrun commentedon Aug 27, 2026