Sorting program for folders.