sorting the folders