The basic sample of FileSorter is as follows. The following sample obtain Finder's insertion location and sort all of item in it according to its view style.
useFileSorter : script "FileSorter"
(makeFileSorter)'s sorted_items()
By giving a delegate to the instance, following behavior can be customized.