This chapter's "what to look for" table is already in priority order — writing the review up in that order puts the highest-leverage issues first. Write sortFindings(findings), where each finding is { category, note } and category is one of this chapter's eight categories, in the table's own order: "State that should not exist", "An effect that is not synchronisation", "State in the wrong place", "Missing states", "Keys", "Accessible names", "Race conditions", "New dependencies". Return a new array sorted by that order; findings that share a category keep their original relative order.