Sort folders and put them before sorted files