[UI] Allow sorting task runs by duration
Author: lostkampCreated Sep 29, 2026Updated Sep 29, 2026
Labelsenhancement
Describe the current behavior
In the "Task runs" tab of a flow run, the task runs can be sorted Newest to Oldest and Oldest to Newest.
Describe the proposed behavior
Add an option to sort the task runs "Longest to Shortest" (and maybe "Shortest to Longest").
Example Use
This is useful for finding bottlenecks in a flow with many (100+) task runs.
Additional context
No response
Source: PrefectHQ/prefect