ECMS-6394: In sites explorer, directories are not sorted

since Platform 4.0.7: