The list of class names generated by annotation processors should be sorted before being written to `AutoConfiguration.imports` and `ManagementContextConfiguration.imports` files to make the build more deterministic. See gh-31228