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