Since https://github.com/dlang/phobos/pull/4907, find has a specialization for SortedRange, however if another range function was applied before (e.g. `take`) the check won't work.
It's probably possible to check the type and see if there's a SortedRange occuring. If so a simple solution would be to iterate towards it and check whether the struct on the way have a `propagatesSortedness` property.
However this of course won't work for something like `retro`.
Comment #1 by robert.schadek — 2024-12-01T16:29:05Z