editor: Assert ordering in selections of `resolve_selections` (#38861)

Inspired by the recent anchor assertions, this asserts that the produced
selections are always ordered at various resolutions stages, this is an
invariant within `SelectionsCollection` but something breaks it
somewhere causing us to seek cursors backwards which panics.

Related to ZED-13X

Release Notes:

- N/A
16fccb5c76Lukas Wirth committed on 9/25/2025, 10:06:47 AM· committed by GitHubparenta25504e
8 files changedLine totals unavailable