This is a setup patch, split out from SERVER-91281. It's a pure refactor, so will be reviewed and committed separately.
- is depended on by
-
SERVER-91281 Allow $rank window function to operate without a SortKeyPattern
- In Progress
- is related to
-
SERVER-98624 Simplify $sort's outputSortKeyMetadata code post-upgrade
- Backlog