You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current sorting algorithm doesn't always work correctly — it depends on the initial array order. Sometimes it completely misplaces items.
To achieve the correct sorting of a linked list structure using only a comparison function within the constraints of GDScript's sorting mechanism is not straightforward because the sorting mechanism relies on comparing two elements at a time in isolation. However, the sorting of a linked list structure inherently depends on the global order of elements, not just on pairwise comparisons.
I will prepare a PR to fix this. Thank you for your work!
The text was updated successfully, but these errors were encountered:
The current sorting algorithm doesn't always work correctly — it depends on the initial array order. Sometimes it completely misplaces items.
To achieve the correct sorting of a linked list structure using only a comparison function within the constraints of GDScript's sorting mechanism is not straightforward because the sorting mechanism relies on comparing two elements at a time in isolation. However, the sorting of a linked list structure inherently depends on the global order of elements, not just on pairwise comparisons.
I will prepare a PR to fix this. Thank you for your work!
The text was updated successfully, but these errors were encountered: