Skip to content

feat(stdlib): make sorted stable#22

Merged
LukeSavefrogs merged 8 commits intomainfrom
feature/make-sorted-stable
Nov 13, 2025
Merged

feat(stdlib): make sorted stable#22
LukeSavefrogs merged 8 commits intomainfrom
feature/make-sorted-stable

Conversation

@LukeSavefrogs
Copy link
Copy Markdown
Owner

@LukeSavefrogs LukeSavefrogs commented Nov 13, 2025

This PR makes the sorted function available in the polyfills.stdlib.functions module behave like the original one respect to sort stability (preserving the order of equal elements).

It also adds comprehensive tests to verify this stability, including multi-key sorting scenarios.

@LukeSavefrogs LukeSavefrogs merged commit 4138a11 into main Nov 13, 2025
70 of 138 checks passed
@LukeSavefrogs LukeSavefrogs deleted the feature/make-sorted-stable branch November 13, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant