Skip to content

fix(field-management): sort groups by name on load#16

Merged
chriskehayias merged 1 commit into
mainfrom
dev
May 21, 2026
Merged

fix(field-management): sort groups by name on load#16
chriskehayias merged 1 commit into
mainfrom
dev

Conversation

@chriskehayias
Copy link
Copy Markdown
Contributor

Groups were previously ordered by the minimum View_Order of their fields, which made load order depend on field data rather than the group label itself. Switch to natural-alphabetical sort on the group name (numeric-aware via localeCompare) so prefixed groups like "2 - Contact" sort before "10 - Other". "99 - Other Fields" remains pinned last.

Groups were previously ordered by the minimum View_Order of their
fields, which made load order depend on field data rather than the
group label itself. Switch to natural-alphabetical sort on the group
name (numeric-aware via localeCompare) so prefixed groups like
"2 - Contact" sort before "10 - Other". "99 - Other Fields" remains
pinned last.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@chriskehayias chriskehayias merged commit 902e5a8 into main May 21, 2026
1 check passed
@chriskehayias chriskehayias deleted the dev branch May 21, 2026 10:47
@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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