Sort the contents of manifest directories, for consistency
Fix the test