Sorted task flow