Revert "Revert "Files areSorted""

This reverts commit ca63e3bd18964ee49b6c2ce0f58d83bf4b3655d4.