Skip to content

Fix LT-21617: Sorting does not work for Exception Features#896

Merged
jasonleenaylor merged 1 commit into
mainfrom
LT-21617
May 19, 2026
Merged

Fix LT-21617: Sorting does not work for Exception Features#896
jasonleenaylor merged 1 commit into
mainfrom
LT-21617

Conversation

@jtmaxwell3
Copy link
Copy Markdown
Collaborator

@jtmaxwell3 jtmaxwell3 commented May 19, 2026

This fixes https://jira.sil.org/browse/LT-21617. RecordList.ListAlreadySorted was implemented incorrectly, and in any case IsSorted wasn't being updated when a list was reverse sorted. ListAlreadySorted isn't called anywhere else. It is amazing that this code worked at all. My guess is that IsSorted was true for most possibility lists, so the old implementation of ListAlreadySorted worked. But for some reason it wasn't true for Exception Features, and so Exception Features couldn't be sorted.


This change is Reviewable

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

NUnit Tests

    1 files  ±0      1 suites  ±0   11m 1s ⏱️ +21s
4 205 tests ±0  4 134 ✅ ±0  71 💤 ±0  0 ❌ ±0 
4 214 runs  ±0  4 143 ✅ ±0  71 💤 ±0  0 ❌ ±0 

Results for commit 61adf27. ± Comparison against base commit a148891.

♻️ This comment has been updated with latest results.

Copy link
Copy Markdown
Contributor

@mark-sil mark-sil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mark-sil reviewed 1 file and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on jtmaxwell3).

@jasonleenaylor jasonleenaylor merged commit d4e947d into main May 19, 2026
8 of 9 checks passed
@jasonleenaylor jasonleenaylor deleted the LT-21617 branch May 19, 2026 19:08
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.

3 participants