Status: IN
The return value of `sum_weights` is always sorted ascending by the first element (value) of each pair, enforced by `sorted()` on the final list comprehension.
Source: entries/2026/06/06/merge-similar-items-solution.md
JSON