Changes in new versions / Go 1.23

slices.Sorted collects an iterator into a sorted slice

This example is in the full version, available in the app stores: