fix order of error messages, first order by section, then order within section