exampleserver test: sort directory listing before comparing