Sorting of folders based on name or modified date time.