SymMerge produces incorrect results with certain input patterns
SymMerge produces incorrect results with certain input patterns: a task in UltraTerminal (Harbor dataset). The SymMerge function in the sort package is not correctly merging sorted segments in some cases, leading to incorrectly ordered output.
The task
The `SymMerge` function in the sort package is not correctly merging sorted segments in some cases, leading to incorrectly ordered output.
Part of harness-hub/UltraTerminal.