Python
The list: items (dashed lines split it into groups; green groups are sorted)
Inside merge
Calls waiting (top = running now)
Output (print)