Some directories were missing after sort.