pub fn sort(changes: &mut [Change])
Order a diff for reporting: breaking first, then by location, so output is stable between runs.