Removing ak.sort
for Records and RecordArray in v2
#1451
Replies: 3 comments 4 replies
-
Including everyone who was involved on an issue or PR about sorting:
Anyone who wants to keep the v1 record-sorting rule in v2, please speak up! It's a bit non-intuitive, as you can see from @ioanaif's example (above). By making This affects v2 and not v1—it would make the refusal to sort records be an API-changing change between v1 and v2. |
Beta Was this translation helpful? Give feedback.
-
@jpivarski this is maybe offtopic, but would it be in future scope to add a |
Beta Was this translation helpful? Give feedback.
-
Note: sorting of records is also being discussed in #1361. |
Beta Was this translation helpful? Give feedback.
-
The motivation behind removing the sorting facility for Records and RecordArray lays in the fact that we do not have any order defined for records. Thus, sorting across record boundaries destroys the identities of those records. Consider the following example:
Do we want to keep this in v2? I'll vote no.
@jpivarski
Beta Was this translation helpful? Give feedback.
All reactions