Skip to content

Pivot table zero sort#8976

Draft
ericokuma wants to merge 1 commit intomainfrom
cursor/ENG-1038-pivot-table-zero-sort-31d6
Draft

Pivot table zero sort#8976
ericokuma wants to merge 1 commit intomainfrom
cursor/ENG-1038-pivot-table-zero-sort-31d6

Conversation

@ericokuma
Copy link
Contributor

Fixes ENG-1038 by ensuring numeric-like dimension values in pivot table column axes are sorted numerically (e.g., 0 appears before 1, not between 5 and 6).

Previously, these values were treated as strings, leading to incorrect ordering. This change introduces a utility to numerically sort column dimension axes only when all values are numeric-like, preserving existing behavior for categorical dimensions and row sorting.

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

Linear Issue: ENG-1038

Open in Web Open in Cursor 

Co-authored-by: ericokuma <ericokuma@users.noreply.github.com>
@cursor
Copy link

cursor bot commented Mar 4, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

2 participants