fn increasing_order_numbers(
current: impl Iterator<Item = Option<i32>>,
) -> Vec<i32>Expand description
Order numbers for a list in its new order, given each entry’s current number (None if new).
The first gets 0, reserved for front pages and the default module; the others keep theirs while
strictly increasing, so only added, moved and pushed entries are renumbered.