The program pftdbns sorts files into separated directories. The files will not be sorted by their name. They will be sorted by the structure of their name, that means they will be grouped by the sort based on the character-classes of the characters of their names.
|space, tab, newline||blank||b|
With these mappings from character to character all filenames will be substituted in the sort. Because of that, filenames with the same naming conventions will be grouped together. Then they will be put into directories with the name of the structure of the files.