Update for CDH5.0.2
Ensure directory listings are sorted in unit tests to avoid platform/filesystem depenencies