Skip to content

Conversation

@0xwitty
Copy link

@0xwitty 0xwitty commented Aug 15, 2025

📦 Pull Request

noticed the array wasn't always sorting correctly because the sort callback only received one parameter in some cases.

this change explicitly compares two elements (a and b) so that magic-sdk always ends up at the start of the list, with everything else following.

it should make the ordering consistent and predictable.

@0xwitty 0xwitty requested a review from a team as a code owner August 15, 2025 10:22
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