sort the files in root folder